SCNVector4.Normalize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Normalize() |
Scales the SCNVector4 to unit length. |
| Normalize(SCNVector4) |
Scale a vector to unit length |
| Normalize(SCNVector4, SCNVector4) |
Scale a vector to unit length |
Normalize()
Scales the SCNVector4 to unit length.
public void Normalize();
member this.Normalize : unit -> unit
Applies to
Normalize(SCNVector4)
Scale a vector to unit length
public static SceneKit.SCNVector4 Normalize(SceneKit.SCNVector4 vec);
static member Normalize : SceneKit.SCNVector4 -> SceneKit.SCNVector4
Parameters
- vec
- SCNVector4
The input vector
Returns
The normalized vector
Applies to
Normalize(SCNVector4, SCNVector4)
Scale a vector to unit length
public static void Normalize(ref SceneKit.SCNVector4 vec, out SceneKit.SCNVector4 result);
static member Normalize : SCNVector4 * SCNVector4 -> unit
Parameters
- vec
- SCNVector4
The input vector
- result
- SCNVector4
The normalized vector