SCNVector3 Constructors
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 |
|---|---|
| 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
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
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
- v
- Vector3
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.