Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

Plane.Plane

Руководство
public Plane(Vector3 inNormal, Vector3 inPoint);

Параметры

Описание

Creates a plane.

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

inNormal must be a normalized vector.


public Plane(Vector3 inNormal, float d);

Параметры

Описание

Creates a plane.

Resulting plane has normal inNormal and distance d.

inNormal must be a normalized vector.


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

Параметры

Описание

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.