iOS Guides | Samples

OpenTK.Vector3h Structure

3-component Vector of the Half type. Occupies 6 Byte total.

See Also: Vector3h

Syntax

public struct Vector3h : IEquatable<Vector3h>, ISerializable

Requirements

Namespace: OpenTK
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of OpenTK.Vector3h are listed below.

See Also: ValueType

Public Constructors

The new Half3 instance will convert the Vector3 into 16-Bit Half precision floating point.
The new Half3 instance will convert the Vector3 into 16-Bit Half precision floating point. This is the fastest constructor.
The new Half3 instance will convert the Vector3d into 16-Bit Half precision floating point.
The new Half3 instance will convert the Vector3d into 16-Bit Half precision floating point. This is the faster constructor.
Constructor used by ISerializable to deserialize the object.
The new Half3 instance will avoid conversion and copy directly from the Half parameters.
The new Half3 instance will convert the 3 parameters into 16-Bit Half precision floating point.
The new Half3 instance will convert the 3 parameters into 16-Bit Half precision floating point.

Public Fields

static readonly
SizeInBytesInt32. The size in bytes for an instance of the Half3 struct is 6.
XHalf. The X component of the Half3.
YHalf. The Y component of the Half3.
ZHalf. The Z component of the Half3.

Public Properties

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

Public Methods

Equals(Vector3h) : Boolean
Returns a value indicating whether this instance is equal to a specified OpenTK.Half3 vector.
FromBinaryStream(BinaryReader)
Updates the X,Y and Z components of this instance by reading from a Stream.
static
FromBytes(Byte[], Int32) : Vector3h
static
GetBytes(Vector3h) : Byte[]
Returns the Half3 as an array of bytes.
GetObjectData(SerializationInfo, StreamingContext)
Used by ISerialize to serialize the object.
ToBinaryStream(BinaryWriter)
Writes the X,Y and Z components of this instance into a Stream.
override
ToString() : String
Returns a string that contains this Half3's numbers in human-legible form.
ToVector3() : Vector3
ToVector3d() : Vector3d

Public Operators