Quaternion(Vector3, Double) Constructor |
Constructs a quaternion with X, Y, Z from
Vector3 and rotation component from a scalar.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntaxpublic Quaternion(
Vector3 vectorPart,
double scalarPart
)
Public Sub New (
vectorPart As Vector3,
scalarPart As Double
)
Parameters
- vectorPart Vector3
- The x, y, z coordinates in 3d-space.
- scalarPart Double
- The rotation component.
See Also