Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


transform

Returns the result of transforming a float3 point by an AffineTransform.
Read time 1 minuteLast updated 4 days ago

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.