Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

Plane.Plane

Switch to Manual
public Plane(inNormal: Vector3, inPoint: Vector3)

Parameters

Description

Creates a plane.

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

inNormal must be a normalized vector.


public Plane(inNormal: Vector3, d: float)

Parameters

Description

Creates a plane.

Resulting plane has normal inNormal and distance d.

inNormal must be a normalized vector.


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

Parameters

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.