Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Normalize

Normalizes the given Plane.
Read time 1 minuteLast updated 11 days ago

Definition

Normalize(Plane)

Normalizes the given Plane.
public static Plane Normalize(Plane plane)

Parameters

plane

Plane to normalize.

Returns

Type

Description

PlaneNormalized Plane.

Normalize(float4)

Normalizes the plane represented by the given plane coefficients.
public static float4 Normalize(float4 planeCoefficients)

Parameters

planeCoefficients

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

Returns

Type

Description

float4Normalized plane coefficients.

Remarks

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