文档

Unity Engine

Unity Engine

implicit operator float3x4

Implicitly converts a single float value to a float3x4 matrix by assigning it to every component.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule

implicit operator float3x4(float3x)

Implicitly converts a single float value to a float3x4 matrix by assigning it to every component.
public static implicit operator float3x4(float v)

Parameters

float to convert to float3x4

Returns

Type

Description

float3x4Converted value.

implicit operator float3x4(float3x)

Implicitly converts a single int value to a float3x4 matrix by converting it to float and assigning it to every component.
public static implicit operator float3x4(int v)

Parameters

int to convert to float3x4

Returns

Type

Description

float3x4Converted value.

implicit operator float3x4(float3x)

Implicitly converts a int3x4 matrix to a float3x4 matrix by componentwise conversion.
public static implicit operator float3x4(int3x4 v)

Parameters

int3x4 to convert to float3x4

Returns

Type

Description

float3x4Converted value.

implicit operator float3x4(float3x)

Implicitly converts a single uint value to a float3x4 matrix by converting it to float and assigning it to every component.
public static implicit operator float3x4(uint v)

Parameters

uint to convert to float3x4

Returns

Type

Description

float3x4Converted value.

implicit operator float3x4(float3x)

Implicitly converts a uint3x4 matrix to a float3x4 matrix by componentwise conversion.
public static implicit operator float3x4(uint3x4 v)

Parameters

uint3x4 to convert to float3x4

Returns

Type

Description

float3x4Converted value.