Method FromPositionRotation
FromPositionRotation(float3, quaternion)
Returns a Transform initialized with the given position and rotation. Scale will be 1.
Declaration
public static LocalTransform FromPositionRotation(float3 position, quaternion rotation)
Parameters
Type | Name | Description |
---|---|---|
float3 | position | The position. |
quaternion | rotation | The rotation. |
Returns
Type | Description |
---|---|
LocalTransform | The Transform. |