Plane

More information can be found in the Unity API Reference and maybe in the Unity Manual.

Members

Member

Description

distance

flipped

normal

Static methods

Method

Description

Translate(plane, translation)

Details

class Plane
Plane Plane(Vector3 inNormal, Vector3 inPoint)
Plane Plane(Vector3 inNormal, float d)
Plane Plane(Vector3 a, Vector3 b, Vector3 c)
Plane Plane()
float distance
const Plane flipped
Vector3 normal
Vector3 ClosestPointOnPlane(Vector3 point)
void Flip()
float GetDistanceToPoint(Vector3 point)
bool GetSide(Vector3 point)
bool Raycast(Ray ray, float enter)
bool SameSide(Vector3 inPt0, Vector3 inPt1)
void Set3Points(Vector3 a, Vector3 b, Vector3 c)
void SetNormalAndPosition(Vector3 inNormal, Vector3 inPoint)
string ToString()
string ToString(string format)
void Translate(Vector3 translation)
static Plane Translate(Plane plane, Vector3 translation)