Method InverseTransformDirection
InverseTransformDirection(float3)
Transforms a direction by the inverse of this transform.
Declaration
public float3 InverseTransformDirection(float3 direction)
Parameters
Type | Name | Description |
---|---|---|
float3 | direction | The direction to be transformed. |
Returns
Type | Description |
---|---|
float3 | The direction after transformation. |
Remarks
To apply a forward transform instead, use TransformDirection(float3). To inverse-transform a point instead, use InverseTransformPoint(float3).
Examples