Skip to content

UnityEnginePlane

API reference for UnityEnginePlane.

Properties

PropertyTypeAccess
distancefloatget, set
flippedUnityEnginePlaneget
normalVector3get, set

Methods

ClosestPointOnPlane

ClosestPointOnPlane(point: Vector3) -> Vector3

Equals

Equals(obj: object) -> bool

Flip

Flip() -> void

GetDistanceToPoint

GetDistanceToPoint(point: Vector3) -> float

GetHashCode

GetHashCode() -> int

GetSide

GetSide(point: Vector3) -> bool

GetType

GetType() -> SystemType

new

static new(inNormal: Vector3, d: float) -> UnityEnginePlane
static new(a: Vector3, b: Vector3, c: Vector3) -> UnityEnginePlane
static new(inNormal: Vector3, inPoint: Vector3) -> UnityEnginePlane

Raycast

Raycast(ray: UnityEngineRay, enter: float) -> bool

SameSide

SameSide(inPt0: Vector3, inPt1: Vector3) -> bool

Set3Points

Set3Points(a: Vector3, b: Vector3, c: Vector3) -> void

SetNormalAndPosition

SetNormalAndPosition(inNormal: Vector3, inPoint: Vector3) -> void

ToString

ToString() -> string
ToString(format: string, formatProvider: SystemIFormatProvider) -> string
ToString(format: string) -> string

Translate

static Translate(plane: UnityEnginePlane, translation: Vector3) -> UnityEnginePlane
Translate(translation: Vector3) -> void