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.SetNormalAndPosition  

function SetNormalAndPosition (inNormal : Vector3, inPoint : Vector3) : void

Description

Sets a plane using a point that lies within it plus a normal to orient it (note that the normal must be a normalised vector).