Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Plane.Plane

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

Description

Creates a plane.

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

/inNormal/ must be a normalized vector.

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

Description

Creates a plane.

Resulting plane has normal inNormal and distance d.

/inNormal/ must be a normalized vector.

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

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.