Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Plane.Plane

Plane(inNormal: Vector3, inPoint: Vector3)
Plane(Vector3 inNormal, Vector3 inPoint);
def Plane(inNormal as Vector3, inPoint as Vector3)

Description

Creates a plane.

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

/inNormal/ must be a normalized vector.

Plane(inNormal: Vector3, d: float)
Plane(Vector3 inNormal, float d);
def Plane(inNormal as Vector3, d as float)

Description

Creates a plane.

Resulting plane has normal inNormal and distance d.

/inNormal/ must be a normalized vector.

Plane(a: Vector3, b: Vector3, c: Vector3)
Plane(Vector3 a, Vector3 b, Vector3 c);
def Plane(a as Vector3, b as Vector3, c as 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.