PhysicsPlane
Represents a 2D plane.
読み終わるまでの所要時間 1 分最終更新 21日前
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsPlane
Fields
Value | Description |
|---|---|
| normal | The plane normal. This must be normalized for the plane be valid. |
| offset | The plane offset. |
Properties
Property | Description |
|---|---|
| isValid | Check if the plane is valid. To be valid, the PhysicsPlane.normal must be normalized. |
Methods
Method | Description |
|---|---|
| GetSeparation | Get the signed separation of a point from a plane. |