Modifier

Partager via


Vector3.Normalize Method

Definition

Overloads

Normalize(Vector3, Vector3)

Scale a vector to unit length

Normalize()

Scales the Vector3 to unit length.

Normalize(Vector3)

Normalize(Vector3, Vector3)

Scale a vector to unit length

public static void Normalize (ref OpenTK.Vector3 vec, out OpenTK.Vector3 result);
static member Normalize :  *  -> unit

Parameters

vec
Vector3

The input vector

result
Vector3

The normalized vector

Applies to

Normalize()

Scales the Vector3 to unit length.

public void Normalize ();
member this.Normalize : unit -> unit

Applies to

Normalize(Vector3)

public static OpenTK.Vector3 Normalize (OpenTK.Vector3 vec);
static member Normalize : OpenTK.Vector3 -> OpenTK.Vector3

Parameters

vec
Vector3

Returns

Applies to