Method transform
transform(double4x4, double3)
Return the result of transforming a double3 point by a double4x4 matrix
Declaration
public static double3 transform(double4x4 a, double3 b)
Parameters
Type | Name | Description |
---|---|---|
double4x4 | a | Left hand side matrix argument that specifies the transformation. |
double3 | b | Right hand side point argument to be transformed. |
Returns
Type | Description |
---|---|
double3 | The transformed point. |
transform(float4x4, float3)
Return the result of transforming a float3 point by a float4x4 matrix
Declaration
public static float3 transform(float4x4 a, float3 b)
Parameters
Type | Name | Description |
---|---|---|
float4x4 | a | Left hand side matrix argument that specifies the transformation. |
float3 | b | Right hand side point argument to be transformed. |
Returns
Type | Description |
---|---|
float3 | The transformed point. |
transform(RigidTransform, float3)
Returns the result of transforming a float3 point by a RigidTransform.
Declaration
public static float3 transform(RigidTransform a, float3 pos)
Parameters
Type | Name | Description |
---|---|---|
RigidTransform | a | The RigidTransform. |
float3 | pos | The position to transform. |
Returns
Type | Description |
---|---|
float3 | The transformed position. |