Struct half
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.Mathematics
Syntax
public struct half
Properties
MaxValue
Declaration
public static float MaxValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
MinValue
Declaration
public static float MinValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Operators
Implicit(Single to half)
Declaration
public static implicit operator half(float v)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | v |
Returns
| Type | Description |
|---|---|
| half |
Implicit(half to Single)
Declaration
public static implicit operator float (half d)
Parameters
| Type | Name | Description |
|---|---|---|
| half | d |
Returns
| Type | Description |
|---|---|
| System.Single |