Version: Unity 6.5 (6000.5)
LanguageEnglish
  • C#

Plane.CreateFromUnitNormalAndPointInPlane

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static Plane CreateFromUnitNormalAndPointInPlane(float3 unitNormal, float3 pointInPlane);

Parameters

Parameter Description
unitNormal A non-zero vector that is perpendicular to the plane. It must be unit length.
pointInPlane A point that lies in the plane.

Returns

Plane Normalized Plane constructed from given inputs.

Description

Creates a normalized Plane without normalization cost.

If you have a unit length normal vector, you can create a Plane faster than using one of its constructors by calling this function.