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
Normalize() |
Scales this instance to unit length. |
Normalize(SCNVector3) |
Scales |
Normalize(SCNVector3, SCNVector3) |
Scales |
Normalize()
Scales this instance to unit length.
public void Normalize ();
member this.Normalize : unit -> unit
Applies to
Normalize(SCNVector3)
Scales vec
to unit length.
public static SceneKit.SCNVector3 Normalize (SceneKit.SCNVector3 vec);
static member Normalize : SceneKit.SCNVector3 -> SceneKit.SCNVector3
Parameters
- vec
- SCNVector3
Returns
Applies to
Normalize(SCNVector3, SCNVector3)
Scales vec
to unit length and stores the result in result
.
public static void Normalize (ref SceneKit.SCNVector3 vec, out SceneKit.SCNVector3 result);
static member Normalize : * -> unit
Parameters
- vec
- SCNVector3
- result
- SCNVector3