Share via


SCNVector4 Constructors

Definition

Overloads

Name Description
SCNVector4(SCNVector3)

Constructs a new SCNVector4 from the given Vector3.

SCNVector4(SCNVector4)

Constructs a new SCNVector4 from the given SCNVector4.

SCNVector4(Vector2)

Constructs a new SCNVector4 from the given Vector2.

SCNVector4(Vector3)
SCNVector4(Vector4)
SCNVector4(SCNVector3, NFloat)

Constructs a new SCNVector4 from the specified Vector3 and W component.

SCNVector4(SCNVector3, Single)

Constructs a new SCNVector4 from the specified Vector3 and W component.

SCNVector4(NFloat, NFloat, NFloat, NFloat)

Constructs a new SCNVector4.

SCNVector4(Single, Single, Single, Single)

Constructs a new SCNVector4.

SCNVector4(SCNVector3)

Constructs a new SCNVector4 from the given Vector3.

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

Parameters

v
SCNVector3

The Vector3 to copy components from.

Applies to

SCNVector4(SCNVector4)

Constructs a new SCNVector4 from the given SCNVector4.

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

Parameters

v
SCNVector4

The SCNVector4 to copy components from.

Applies to

SCNVector4(Vector2)

Constructs a new SCNVector4 from the given Vector2.

public SCNVector4(System.Numerics.Vector2 v);
new SceneKit.SCNVector4 : System.Numerics.Vector2 -> SceneKit.SCNVector4

Parameters

v
Vector2

The Vector2 to copy components from.

Applies to

SCNVector4(Vector3)

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

Parameters

Applies to

SCNVector4(Vector4)

public SCNVector4(System.Numerics.Vector4 v);
new SceneKit.SCNVector4 : System.Numerics.Vector4 -> SceneKit.SCNVector4

Parameters

Applies to

SCNVector4(SCNVector3, NFloat)

Constructs a new SCNVector4 from the specified Vector3 and W component.

public SCNVector4(SceneKit.SCNVector3 v, System.Runtime.InteropServices.NFloat w);
new SceneKit.SCNVector4 : SceneKit.SCNVector3 * System.Runtime.InteropServices.NFloat -> SceneKit.SCNVector4

Parameters

v
SCNVector3

The Vector3 to copy components from.

w
NFloat

The W component of the new SCNVector4.

Applies to

SCNVector4(SCNVector3, Single)

Constructs a new SCNVector4 from the specified Vector3 and W component.

public SCNVector4(SceneKit.SCNVector3 v, float w);
new SceneKit.SCNVector4 : SceneKit.SCNVector3 * single -> SceneKit.SCNVector4

Parameters

v
SCNVector3

The Vector3 to copy components from.

w
Single

The W component of the new SCNVector4.

Applies to

SCNVector4(NFloat, NFloat, NFloat, NFloat)

Constructs a new SCNVector4.

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

Parameters

x
NFloat

The x component of the SCNVector4.

y
NFloat

The y component of the SCNVector4.

z
NFloat

The z component of the SCNVector4.

w
NFloat

The z component of the SCNVector4.

Applies to

SCNVector4(Single, Single, Single, Single)

Constructs a new SCNVector4.

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

Parameters

x
Single

The x component of the SCNVector4.

y
Single

The y component of the SCNVector4.

z
Single

The z component of the SCNVector4.

w
Single

The z component of the SCNVector4.

Applies to