SCNVector3.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 SCNVector3 to unit length. |
| Normalize(SCNVector3) |
Scale a vector to unit length |
| Normalize(SCNVector3, SCNVector3) |
Scale a vector to unit length |
Normalize()
Scales the SCNVector3 to unit length.
public void Normalize();
member this.Normalize : unit -> unit
Applies to
Normalize(SCNVector3)
Scale a vector to unit length
public static SceneKit.SCNVector3 Normalize(SceneKit.SCNVector3 vec);
static member Normalize : SceneKit.SCNVector3 -> SceneKit.SCNVector3
Parameters
- vec
- SCNVector3
The input vector
Returns
The normalized vector
Applies to
Normalize(SCNVector3, SCNVector3)
Scale a vector to unit length
public static void Normalize(ref SceneKit.SCNVector3 vec, out SceneKit.SCNVector3 result);
static member Normalize : SCNVector3 * SCNVector3 -> unit
Parameters
- vec
- SCNVector3
The input vector
- result
- SCNVector3
The normalized vector