Method FromPositionRotationScale
FromPositionRotationScale(float3, quaternion, float)
Returns a Transform initialized with the given position, rotation and scale.
Declaration
public static LocalTransform FromPositionRotationScale(float3 position, quaternion rotation, float scale)
Parameters
Type | Name | Description |
---|---|---|
float3 | position | The position. |
quaternion | rotation | The rotation. |
float | scale | The scale. |
Returns
Type | Description |
---|---|
LocalTransform | The Transform. |