transform
Returns the result of transforming a float3 point by an AffineTransform.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
transform(AffineTransform, float3)
Returns the result of transforming a float3 point by an AffineTransform.
public static float3 transform(AffineTransform a, float3 pos)
Parameters
Returns
Type | Description |
|---|---|
| float3 | The transformed position. |
transform(double4x4, double3)
Return the result of transforming a double3 point by a double4x4 matrix
public static double3 transform(double4x4 a, double3 b)
Parameters
Returns
Type | Description |
|---|---|
| double3 | The transformed point. |
transform(float4x4, float3)
Return the result of transforming a float3 point by a float4x4 matrix
public static float3 transform(float4x4 a, float3 b)
Parameters
Returns
Type | Description |
|---|---|
| float3 | The transformed point. |
transform(RigidTransform, float3)
Returns the result of transforming a float3 point by a RigidTransform.
public static float3 transform(RigidTransform a, float3 pos)
Parameters
Returns
Type | Description |
|---|---|
| float3 | The transformed position. |