UnityEnginePlane
API reference for UnityEnginePlane.
Properties
| Property | Type | Access |
|---|---|---|
| distance | float | get, set |
| flipped | UnityEnginePlane | get |
| normal | Vector3 | get, set |
Methods
ClosestPointOnPlane
ClosestPointOnPlane(point: Vector3) -> Vector3Equals
Equals(obj: object) -> boolFlip
Flip() -> voidGetDistanceToPoint
GetDistanceToPoint(point: Vector3) -> floatGetHashCode
GetHashCode() -> intGetSide
GetSide(point: Vector3) -> boolGetType
GetType() -> SystemTypenew
static new(inNormal: Vector3, d: float) -> UnityEnginePlanestatic new(a: Vector3, b: Vector3, c: Vector3) -> UnityEnginePlanestatic new(inNormal: Vector3, inPoint: Vector3) -> UnityEnginePlaneRaycast
Raycast(ray: UnityEngineRay, enter: float) -> boolSameSide
SameSide(inPt0: Vector3, inPt1: Vector3) -> boolSet3Points
Set3Points(a: Vector3, b: Vector3, c: Vector3) -> voidSetNormalAndPosition
SetNormalAndPosition(inNormal: Vector3, inPoint: Vector3) -> voidToString
ToString() -> stringToString(format: string, formatProvider: SystemIFormatProvider) -> stringToString(format: string) -> stringTranslate
static Translate(plane: UnityEnginePlane, translation: Vector3) -> UnityEnginePlaneTranslate(translation: Vector3) -> void