ドキュメント

Unity Engine

Unity Engine

half

Returns a half value constructed from a half values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

half(half)

Returns a half value constructed from a half values.
public static half half(half x)

Parameters

The input half value to copy.

Returns

Type

Description

halfThe constructed half value.

half(float)

Returns a half value constructed from a float value.
public static half half(float v)

Parameters

The single precision float value to convert to half.

Returns

Type

Description

halfThe constructed half value.

half(double)

Returns a half value constructed from a double value.
public static half half(double v)

Parameters

The double precision float value to convert to half.

Returns

Type

Description

halfThe constructed half value.