MonoMac.OpenGL.Vector4h Members

The members of MonoMac.OpenGL.Vector4h are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

Constructs a new instance.
The new Half4 instance will convert the Vector4 into 16-bit half-precision floating-point.
The new Half4 instance will convert the Vector4 into 16-bit half-precision floating-point. This is the fastest constructor.
The new Half4 instance will convert the Vector4d into 16-bit half-precision floating-point.
The new Half4 instance will convert the Vector4d into 16-bit half-precision floating-point. This is the faster constructor.
Constructs a new instance.
The new Half4 instance will convert the Vector4 into 16-bit half-precision floating-point.
The new Half4 instance will convert the Vector4 into 16-bit half-precision floating-point.
The new Half4 instance will convert the Vector4d into 16-bit half-precision floating-point.
The new Half4 instance will convert the Vector4d into 16-bit half-precision floating-point.
Constructor used by ISerializable to deserialize the object.
The new Half4 instance will avoid conversion and copy directly from the Half parameters.
The new Half4 instance will convert the 4 parameters into 16-bit half-precision floating-point.
The new Half4 instance will convert the 4 parameters into 16-bit half-precision floating-point.

Public Fields

static readonly
SizeInBytesint. The size in bytes for an instance of the Half4 struct is 8.
WHalf. The W component of the Half4.
XHalf. The X component of the Half4.
YHalf. The Y component of the Half4.
ZHalf. The Z component of the Half4.

Public Properties

XyVector2h. Gets or sets an OpenTK.Vector2h with the X and Y components of this instance.
XyzVector3h. Gets or sets an OpenTK.Vector3h with the X, Y and Z components of this instance.

Public Methods

Equals(Vector4h) : bool
Returns a value indicating whether this instance is equal to a specified OpenTK.Half4 vector.
FromBinaryStream(System.IO.BinaryReader)
Updates the X,Y,Z and W components of this instance by reading from a Stream.
static
FromBytes(byte[], int) : Vector4h
Converts an array of bytes into Half4.
static
GetBytes(Vector4h) : byte[]
Returns the Half4 as an array of bytes.
GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Used by ISerialize to serialize the object.
ToBinaryStream(System.IO.BinaryWriter)
Writes the X,Y,Z and W components of this instance into a Stream.
override
ToString() : string
Returns a string that contains this Half4's numbers in human-legible form.
ToVector4() : Vector4
Returns this Half4 instance's contents as Vector4.
ToVector4d() : Vector4d
Returns this Half4 instance's contents as Vector4d.

Public Operators

static
Conversion to MonoMac.OpenGL.Vector4h(Explicit)Converts OpenTK.Vector4 to OpenTK.Half4.
static
Conversion to MonoMac.OpenGL.Vector4h(Explicit)Converts OpenTK.Vector4d to OpenTK.Half4.
static
Conversion to MonoMac.OpenGL.Vector4(Explicit)Converts OpenTK.Half4 to OpenTK.Vector4.
static
Conversion to MonoMac.OpenGL.Vector4d(Explicit)Converts OpenTK.Half4 to OpenTK.Vector4d.