文档

Unity Engine

Unity Engine

cmin

Returns the minimum component of an int2 vector.
阅读时间2 分钟最后更新于 1 个月前

Definition

cmin(int2)

Returns the minimum component of an int2 vector.
public static int cmin(int2 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

intThe value of the minimum component of the vector.

cmin(int3)

Returns the minimum component of an int3 vector.
public static int cmin(int3 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

intThe value of the minimum component of the vector.

cmin(int4)

Returns the minimum component of an int4 vector.
public static int cmin(int4 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

intThe value of the minimum component of the vector.

cmin(uint2)

Returns the minimum component of a uint2 vector.
public static uint cmin(uint2 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

uintThe value of the minimum component of the vector.

cmin(uint3)

Returns the minimum component of a uint3 vector.
public static uint cmin(uint3 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

uintThe value of the minimum component of the vector.

cmin(uint4)

Returns the minimum component of a uint4 vector.
public static uint cmin(uint4 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

uintThe value of the minimum component of the vector.

cmin(float2)

Returns the minimum component of a float2 vector.
public static float cmin(float2 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

floatThe value of the minimum component of the vector.

cmin(float3)

Returns the minimum component of a float3 vector.
public static float cmin(float3 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

floatThe value of the minimum component of the vector.

cmin(float4)

Returns the minimum component of a float4 vector.
public static float cmin(float4 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

floatThe value of the minimum component of the vector.

cmin(double2)

Returns the minimum component of a double2 vector.
public static double cmin(double2 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

doubleThe value of the minimum component of the vector.

cmin(double3)

Returns the minimum component of a double3 vector.
public static double cmin(double3 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

doubleThe value of the minimum component of the vector.

cmin(double4)

Returns the minimum component of a double4 vector.
public static double cmin(double4 x)

Parameters

The vector to use when computing the minimum component.

Returns

Type

Description

doubleThe value of the minimum component of the vector.