Constructor RigidTransform
RigidTransform(quaternion, float3)
Constructs a RigidTransform from a rotation represented by a unit quaternion and a translation represented by a float3 vector.
Declaration
public RigidTransform(quaternion rotation, float3 translation)
Parameters
Type | Name | Description |
---|---|---|
quaternion | rotation | The quaternion rotation. |
float3 | translation | The translation vector. |
RigidTransform(float3x3, float3)
Constructs a RigidTransform from a rotation represented by a float3x3 matrix and a translation represented by a float3 vector.
Declaration
public RigidTransform(float3x3 rotation, float3 translation)
Parameters
Type | Name | Description |
---|---|---|
float3x3 | rotation | The float3x3 rotation matrix. |
float3 | translation | The translation vector. |
RigidTransform(float4x4)
Constructs a RigidTransform from a float4x4. Assumes the matrix is orthonormal.
Declaration
public RigidTransform(float4x4 transform)
Parameters
Type | Name | Description |
---|---|---|
float4x4 | transform | The float4x4 transformation matrix, must be orthonormal. |