Click or drag to resize

Vector4H Structure

A structure encapsulating four half precision floating point values.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct Vector4H

The Vector4H type exposes the following members.

Constructors
  NameDescription
Public methodVector4H(Vector4H)
Constructs a vector with another given vector.
Public methodVector4H(Single, Single, Single, Single)
Constructs a vector with the given individual elements.
Public methodVector4H(HalfType, HalfType, HalfType, HalfType)
Constructs a vector with the given individual elements.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToColorValue
Converts the current instance of Vector4H into the equivalent ColorValue structure.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodToVector4
Converts the current instance of Vector4H into the equivalent Vector4 structure.
Public methodToVector4F
Converts the current instance of Vector4H into the equivalent Vector4F structure.
Public methodToVector4H
Converts the current instance of Vector4F into the equivalent Vector4H structure.
Top
Operators
Fields
  NameDescription
Public fieldStatic memberOne
Returns the vector (1,1,1,1).
Public fieldW
The W component of the vector.
Public fieldX
The X component of the vector.
Public fieldY
The Y component of the vector.
Public fieldZ
The Z component of the vector.
Public fieldStatic memberZero
Returns the vector (0,0,0,0).
Top
Extension Methods
See Also