Share via


SCNVector3 Constructors

Definition

Overloads

Name Description
SCNVector3(SCNVector3)

Constructs a new Vector3 from the given Vector3.

SCNVector3(SCNVector4)

Constructs a new Vector3 from the given Vector4.

SCNVector3(Vector3)
SCNVector3(NFloat, NFloat, NFloat)

Constructs a new Vector3.

SCNVector3(Single, Single, Single)

Constructs a new Vector3.

SCNVector3(SCNVector3)

Constructs a new Vector3 from the given Vector3.

public SCNVector3(SceneKit.SCNVector3 v);
new SceneKit.SCNVector3 : SceneKit.SCNVector3 -> SceneKit.SCNVector3

Parameters

v
SCNVector3

The Vector3 to copy components from.

Applies to

SCNVector3(SCNVector4)

Constructs a new Vector3 from the given Vector4.

public SCNVector3(SceneKit.SCNVector4 v);
new SceneKit.SCNVector3 : SceneKit.SCNVector4 -> SceneKit.SCNVector3

Parameters

v
SCNVector4

The Vector4 to copy components from.

Applies to

SCNVector3(Vector3)

public SCNVector3(System.Numerics.Vector3 v);
new SceneKit.SCNVector3 : System.Numerics.Vector3 -> SceneKit.SCNVector3

Parameters

Applies to

SCNVector3(NFloat, NFloat, NFloat)

Constructs a new Vector3.

public SCNVector3(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y, System.Runtime.InteropServices.NFloat z);
new SceneKit.SCNVector3 : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> SceneKit.SCNVector3

Parameters

x
NFloat

The x component of the Vector3.

y
NFloat

The y component of the Vector3.

z
NFloat

The z component of the Vector3.

Applies to

SCNVector3(Single, Single, Single)

Constructs a new Vector3.

public SCNVector3(float x, float y, float z);
new SceneKit.SCNVector3 : single * single * single -> SceneKit.SCNVector3

Parameters

x
Single

The x component of the Vector3.

y
Single

The y component of the Vector3.

z
Single

The z component of the Vector3.

Applies to