Edit

Share via


Vector3h Constructors

Definition

Overloads

Vector3h(Half)
Vector3h(Vector3)

The new Half3 instance will convert the Vector3 into 16-Bit Half precision floating point.

Vector3h(Vector3)

The new Half3 instance will convert the Vector3 into 16-Bit Half precision floating point. This is the fastest constructor.

Vector3h(Vector3d)

The new Half3 instance will convert the Vector3d into 16-Bit Half precision floating point.

Vector3h(Vector3d)

The new Half3 instance will convert the Vector3d into 16-Bit Half precision floating point. This is the faster constructor.

Vector3h(Single)
Vector3h(Vector3, Boolean)
Vector3h(Vector3, Boolean)
Vector3h(Vector3d, Boolean)
Vector3h(Vector3d, Boolean)
Vector3h(SerializationInfo, StreamingContext)

Constructor used by ISerializable to deserialize the object.

Vector3h(Half, Half, Half)

The new Half3 instance will avoid conversion and copy directly from the Half parameters.

Vector3h(Single, Single, Single)

The new Half3 instance will convert the 3 parameters into 16-Bit Half precision floating point.

Vector3h(Single, Single, Single, Boolean)

The new Half3 instance will convert the 3 parameters into 16-Bit Half precision floating point.

Vector3h(Half)

public Vector3h (OpenTK.Half value);
new OpenTK.Vector3h : OpenTK.Half -> OpenTK.Vector3h

Parameters

value
Half

Applies to

Vector3h(Vector3)

Important

This API is not CLS-compliant.

The new Half3 instance will convert the Vector3 into 16-Bit Half precision floating point.

[System.CLSCompliant(false)]
public Vector3h (OpenTK.Vector3 v);
new OpenTK.Vector3h : OpenTK.Vector3 -> OpenTK.Vector3h

Parameters

v
Vector3

OpenTK.Vector3

Attributes

Applies to

Vector3h(Vector3)

The new Half3 instance will convert the Vector3 into 16-Bit Half precision floating point. This is the fastest constructor.

public Vector3h (ref OpenTK.Vector3 v);
new OpenTK.Vector3h :  -> OpenTK.Vector3h

Parameters

v
Vector3

OpenTK.Vector3

Applies to

Vector3h(Vector3d)

The new Half3 instance will convert the Vector3d into 16-Bit Half precision floating point.

public Vector3h (OpenTK.Vector3d v);
new OpenTK.Vector3h : OpenTK.Vector3d -> OpenTK.Vector3h

Parameters

v
Vector3d

OpenTK.Vector3d

Applies to

Vector3h(Vector3d)

Important

This API is not CLS-compliant.

The new Half3 instance will convert the Vector3d into 16-Bit Half precision floating point. This is the faster constructor.

[System.CLSCompliant(false)]
public Vector3h (ref OpenTK.Vector3d v);
new OpenTK.Vector3h :  -> OpenTK.Vector3h

Parameters

v
Vector3d

OpenTK.Vector3d

Attributes

Applies to

Vector3h(Single)

public Vector3h (float value);
new OpenTK.Vector3h : single -> OpenTK.Vector3h

Parameters

value
Single

Applies to

Vector3h(Vector3, Boolean)

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public Vector3h (OpenTK.Vector3 v, bool throwOnError);
new OpenTK.Vector3h : OpenTK.Vector3 * bool -> OpenTK.Vector3h

Parameters

throwOnError
Boolean
Attributes

Applies to

Vector3h(Vector3, Boolean)

public Vector3h (ref OpenTK.Vector3 v, bool throwOnError);
new OpenTK.Vector3h :  * bool -> OpenTK.Vector3h

Parameters

throwOnError
Boolean

Applies to

Vector3h(Vector3d, Boolean)

public Vector3h (OpenTK.Vector3d v, bool throwOnError);
new OpenTK.Vector3h : OpenTK.Vector3d * bool -> OpenTK.Vector3h

Parameters

throwOnError
Boolean

Applies to

Vector3h(Vector3d, Boolean)

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public Vector3h (ref OpenTK.Vector3d v, bool throwOnError);
new OpenTK.Vector3h :  * bool -> OpenTK.Vector3h

Parameters

throwOnError
Boolean
Attributes

Applies to

Vector3h(SerializationInfo, StreamingContext)

Constructor used by ISerializable to deserialize the object.

public Vector3h (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new OpenTK.Vector3h : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> OpenTK.Vector3h

Parameters

Applies to

Vector3h(Half, Half, Half)

The new Half3 instance will avoid conversion and copy directly from the Half parameters.

public Vector3h (OpenTK.Half x, OpenTK.Half y, OpenTK.Half z);
new OpenTK.Vector3h : OpenTK.Half * OpenTK.Half * OpenTK.Half -> OpenTK.Vector3h

Parameters

x
Half

An Half instance of a 16-Bit half precision floating point number.

y
Half

An Half instance of a 16-Bit half precision floating point number.

z
Half

An Half instance of a 16-Bit half precision floating point number.

Applies to

Vector3h(Single, Single, Single)

The new Half3 instance will convert the 3 parameters into 16-Bit Half precision floating point.

public Vector3h (float x, float y, float z);
new OpenTK.Vector3h : single * single * single -> OpenTK.Vector3h

Parameters

x
Single

32-Bit Single precision floating point number.

y
Single

32-Bit Single precision floating point number.

z
Single

32-Bit Single precision floating point number.

Applies to

Vector3h(Single, Single, Single, Boolean)

The new Half3 instance will convert the 3 parameters into 16-Bit Half precision floating point.

public Vector3h (float x, float y, float z, bool throwOnError);
new OpenTK.Vector3h : single * single * single * bool -> OpenTK.Vector3h

Parameters

x
Single

32-Bit Single precision floating point number.

y
Single

32-Bit Single precision floating point number.

z
Single

32-Bit Single precision floating point number.

throwOnError
Boolean

Enable checks that will throw if the conversion result is not meaningful.

Applies to