RigidTransform
Constructs a RigidTransform from a rotation represented by a unit quaternion and a translation represented by a float3 vector.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
RigidTransform(quaternion, float3)
Constructs a RigidTransform from a rotation represented by a unit quaternion and a translation represented by a float3 vector.
public RigidTransform(quaternion rotation, float3 translation)
Parameters
RigidTransform(float3x3, float3)
Constructs a RigidTransform from a rotation represented by a float3x3 matrix and a translation represented by a float3 vector.
public RigidTransform(float3x3 rotation, float3 translation)
Parameters
RigidTransform(float4x4)
Constructs a RigidTransform from a float4x4. Assumes the matrix is orthonormal.
public RigidTransform(float4x4 transform)
Parameters
The float4x4 transformation matrix, must be orthonormal.