C# 클래스 Fusion.Core.Mathematics.Half

파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Epsilon float
MaxValue float
MinValue float

공개 메소드들

메소드 설명
ConvertToFloat ( Half values ) : float[]

Converts an array of half precision values into full precision values.

ConvertToHalf ( float values ) : Fusion.Core.Mathematics.Half[]

Converts an array of full precision values into half precision values.

Equals ( Half other ) : bool

Returns a value that indicates whether the current instance is equal to the specified object.

Equals ( Half &value1, Half &value2 ) : bool

Determines whether the specified object instances are considered equal.

Equals ( object obj ) : bool

Returns a value that indicates whether the current instance is equal to a specified object.

GetHashCode ( ) : int

Returns the hash code for this instance.

Half ( float value ) : System

Initializes a new instance of the Half structure.

Half ( ushort rawvalue ) : System

Initializes a new instance of the Half structure.

ToString ( ) : string

Converts the value of the object to its equivalent string representation.

operator ( ) : bool

Tests for equality between two objects.

비공개 메소드들

메소드 설명
Half ( ) : System

메소드 상세

ConvertToFloat() 공개 정적인 메소드

Converts an array of half precision values into full precision values.
public static ConvertToFloat ( Half values ) : float[]
values Half The values to be converted.
리턴 float[]

ConvertToHalf() 공개 정적인 메소드

Converts an array of full precision values into half precision values.
public static ConvertToHalf ( float values ) : Fusion.Core.Mathematics.Half[]
values float The values to be converted.
리턴 Fusion.Core.Mathematics.Half[]

Equals() 공개 메소드

Returns a value that indicates whether the current instance is equal to the specified object.
public Equals ( Half other ) : bool
other Half Object to make the comparison with.
리턴 bool

Equals() 공개 정적인 메소드

Determines whether the specified object instances are considered equal.
public static Equals ( Half &value1, Half &value2 ) : bool
value1 Half
value2 Half
리턴 bool

Equals() 공개 메소드

Returns a value that indicates whether the current instance is equal to a specified object.
public Equals ( object obj ) : bool
obj object Object to make the comparison with.
리턴 bool

GetHashCode() 공개 메소드

Returns the hash code for this instance.
public GetHashCode ( ) : int
리턴 int

Half() 공개 메소드

Initializes a new instance of the Half structure.
public Half ( float value ) : System
value float The floating point value that should be stored in 16 bit format.
리턴 System

Half() 공개 메소드

Initializes a new instance of the Half structure.
public Half ( ushort rawvalue ) : System
rawvalue ushort The floating point value that should be stored in 16 bit format.
리턴 System

ToString() 공개 메소드

Converts the value of the object to its equivalent string representation.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Tests for equality between two objects.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Epsilon 공개적으로 정적으로 프로퍼티

Smallest such that 1.0 + epsilon != 1.0
public static float Epsilon
리턴 float

MaxValue 공개적으로 정적으로 프로퍼티

Maximum value of the number.
public static float MaxValue
리턴 float

MinValue 공개적으로 정적으로 프로퍼티

Minimum value of the number.
public static float MinValue
리턴 float