Quaternion Constructor (Vector3, Single) |
Constructs a quaternion with X, Y, Z from
Vector3 and rotation component from a scalar.
Namespace: SampSharp.GameModeAssembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntaxpublic Quaternion(
Vector3 value,
float w
)
Public Sub New (
value As Vector3,
w As Single
)
Parameters
- value
- Type: SampSharp.GameModeVector3
The x, y, z coordinates in 3d-space. - w
- Type: SystemSingle
The rotation component.
See Also