文档

Unity Engine

Unity Engine

transform

Returns the result of transforming a float3 point by an AffineTransform.
阅读时间1 分钟最后更新于 1 个月前

Definition

transform(AffineTransform, float3)

Returns the result of transforming a float3 point by an AffineTransform.
public static float3 transform(AffineTransform a, float3 pos)

Parameters

The AffineTransform.

The position to transform.

Returns

Type

Description

float3The 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

Left hand side matrix argument that specifies the transformation.

Right hand side point argument to be transformed.

Returns

Type

Description

double3The 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

Left hand side matrix argument that specifies the transformation.

Right hand side point argument to be transformed.

Returns

Type

Description

float3The 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

The RigidTransform.

The position to transform.

Returns

Type

Description

float3The transformed position.