Plane Manual     Reference     Scripting  
Scripting > Runtime Classes > Plane
Plane Struct

Representation of planes.

A plane is defined by a normal vector and distance from the origin to the plane.

Variables
normal

Normal vector of the plane.

distance

Distance from the origin to the plane.

Constructors
Plane

Creates a plane.

Functions
GetDistanceToPoint

Distance from plane to point.

GetSide

Is a point on the positive side of the plane?

SameSide

Are two points on the same side of the plane?

Raycast

Intersects a ray with the plane.