OpenTK.Vector4h Members

The members of OpenTK.Vector4h are listed below.

See Also: Inherited members from System.ValueType

Public Constructors

Documentation for this section has not yet been entered.
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.
Documentation for this section has not yet been entered.
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
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.