Method FromScale
FromScale(float)
Returns a Transform initialized with the given scale. Position will be 0,0,0, and rotation will be identity.
Declaration
public static LocalTransform FromScale(float scale)
Parameters
Type | Name | Description |
---|---|---|
float | scale | The scale. |
Returns
Type | Description |
---|---|
LocalTransform | The Transform. |