Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Plane   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Plane
  • All Members
  • Variables
  • distance
  • normal
  • Constructors
  • Plane
  • Functions
  • GetDistanceToPoint
  • GetSide
  • Raycast
  • SameSide
  • Set3Points
  • SetNormalAndPosition

Plane.Plane  

static function Plane (inNormal : Vector3, inPoint : Vector3) : Plane

Description

Creates a plane.

Resulting plane has normal inNormal and goes through a point inPoint.

inNormal must be a normalized vector.

static function Plane (inNormal : Vector3, d : float) : Plane

Description

Creates a plane.

Resulting plane has normal inNormal and distance d.

inNormal must be a normalized vector.

static function Plane (a : Vector3, b : Vector3, c : Vector3) : Plane

Description

Creates a plane.

The resulting plane goes through the given three points. The points go around clockwise as you look down on the top surface of the plane.