Version: Unity 6.5 (6000.5)
LanguageEnglish
  • C#

Plane.Normalize

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 Normalize(Plane plane);

Parameters

Parameter Description
plane Plane to normalize.

Returns

Plane Normalized Plane.

Description

Normalizes the given Plane.


Declaration

public static float4 Normalize(float4 planeCoefficients);

Parameters

Parameter Description
planeCoefficients Plane coefficients A, B, C, D stored in x, y, z, w (respectively).

Returns

float4 Normalized plane coefficients.

Description

Normalizes the plane represented by the given plane coefficients.

The plane coefficients are A, B, C, D and stored in that order in the Unity.Mathematics.float4.