ドキュメント

Unity Engine

Unity Engine

implicit operator float2x4

Implicitly converts a single float value to a float2x4 matrix by assigning it to every component.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

implicit operator float2x4(float2x)

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

Parameters

float to convert to float2x4

Returns

Type

Description

float2x4Converted value.

implicit operator float2x4(float2x)

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

Parameters

int to convert to float2x4

Returns

Type

Description

float2x4Converted value.

implicit operator float2x4(float2x)

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

Parameters

int2x4 to convert to float2x4

Returns

Type

Description

float2x4Converted value.

implicit operator float2x4(float2x)

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

Parameters

uint to convert to float2x4

Returns

Type

Description

float2x4Converted value.

implicit operator float2x4(float2x)

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

Parameters

uint2x4 to convert to float2x4

Returns

Type

Description

float2x4Converted value.