C# Class Monobjc.GLKit.GLKVector3

Mostra file Open project: Monobjc/monobjc Class Usage Examples

Public Properties

Property Type Description
x float
y float
z float

Public Methods

Method Description
Add ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3

Returns the sum of two vectors.

Original signature is 'GLKVector3 GLKVector3Add ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

AddScalar ( GLKVector3 vector, float value ) : GLKVector3

Returns a new vector created by adding a scalar value to each component of a vector.

Original signature is 'GLKVector3 GLKVector3AddScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

AllEqualToScalar ( GLKVector3 vector, float value ) : bool

Returns a Boolean value that states whether all the components of the source vector are equal to a scalar value.

Original signature is 'bool GLKVector3AllEqualToScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

AllEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : bool

Returns a Boolean value that indicates whether each component of the first vector is equal to the corresponding component of a second vector.

Original signature is 'bool GLKVector3AllEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

AllGreaterThanOrEqualToScalar ( GLKVector3 vector, float value ) : bool

Returns a Boolean value that states whether all the components of the source vector are greater than or equal to a scalar value.

Original signature is 'bool GLKVector3AllGreaterThanOrEqualToScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

AllGreaterThanOrEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : bool

Returns a Boolean value that indicates whether each component of the first vector is greater than or equal to the corresponding component of a second vector.

Original signature is 'bool GLKVector3AllGreaterThanOrEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

AllGreaterThanScalar ( GLKVector3 vector, float value ) : bool

Returns a Boolean value that states whether all the components of the source vector are greater than a scalar value.

Original signature is 'bool GLKVector3AllGreaterThanScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

AllGreaterThanVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : bool

Returns a Boolean value that indicates whether each component of the first vector is greater than the corresponding component of a second vector.

Original signature is 'bool GLKVector3AllGreaterThanVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

CrossProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3

Returns the cross product of two vectors.

Original signature is 'GLKVector3 GLKVector3CrossProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

Distance ( GLKVector3 vectorStart, GLKVector3 vectorEnd ) : float

Returns the distance between two points.

Original signature is 'float GLKVector3Distance ( GLKVector3 vectorStart, GLKVector3 vectorEnd ) {}'

Available in OS X v10.8 and later.

Divide ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3

Returns a new vector created by dividing one vector by another.

Original signature is 'GLKVector3 GLKVector3Divide ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

DivideScalar ( GLKVector3 vector, float value ) : GLKVector3

Returns a new vector created by dividing each component of a vector by a scalar value.

Original signature is 'GLKVector3 GLKVector3DivideScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

DotProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : float

Returns the dot product of two vectors.

Original signature is 'float GLKVector3DotProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

GLKVector3 ( float x, float y, float z ) : System.Runtime.InteropServices

Initializes a new instance of the Monobjc.GLKit.GLKVector3 struct.

Length ( GLKVector3 vector ) : float

Returns the length of a vector.

Original signature is 'float GLKVector3Length ( GLKVector3 vector ) {}'

Available in OS X v10.8 and later.

Lerp ( GLKVector3 vectorStart, GLKVector3 vectorEnd, float t ) : GLKVector3

Returns a new vector created by linearly interpreting between two vectors.

Original signature is 'GLKVector3 GLKVector3Lerp ( GLKVector3 vectorStart, GLKVector3 vectorEnd, float t ) {}'

Available in OS X v10.8 and later.

Make ( float x, float y, float z ) : GLKVector3

Returns a new three-component vector created from individual component values.

Original signature is 'GLKVector3 GLKVector3Make ( float x, float y, float z ) {}'

Available in OS X v10.8 and later.

MakeWithArray ( IntPtr values ) : GLKVector3

Returns a new three-component vector created from an array of components.

Original signature is 'GLKVector3 GLKVector3MakeWithArray ( float values[3] ) {}'

Available in OS X v10.8 and later.

Maximum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3

Returns a new vector whose component value at each position is the largest component value at the same position in the source vectors.

Original signature is 'GLKVector3 GLKVector3Maximum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

Minimum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3

Returns a new vector whose component value at each position is the smallest component value at the same position in the source vectors.

Original signature is 'GLKVector3 GLKVector3Minimum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

Multiply ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3

Returns the product of two vectors.

Original signature is 'GLKVector3 GLKVector3Multiply ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

MultiplyScalar ( GLKVector3 vector, float value ) : GLKVector3

Returns a new vector created by multiplying each component of a vector by a scalar value.

Original signature is 'GLKVector3 GLKVector3MultiplyScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

Negate ( GLKVector3 vector ) : GLKVector3

Returns a new vector created by negating the component values of another vector.

Original signature is 'GLKVector3 GLKVector3Negate ( GLKVector3 vector ) {}'

Available in OS X v10.8 and later.

Normalize ( GLKVector3 vector ) : GLKVector3

Returns a new vector created by normalizing the input vector to a length of 1.0.

Original signature is 'GLKVector3 GLKVector3Normalize ( GLKVector3 vector ) {}'

Available in OS X v10.8 and later.

Project ( GLKVector3 vectorToProject, GLKVector3 projectionVector ) : GLKVector3

Returns a new vector created by projecting a vector onto another vector.

Original signature is 'GLKVector3 GLKVector3Project ( GLKVector3 vectorToProject, GLKVector3 projectionVector ) {}'

Available in OS X v10.8 and later.

Subtract ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3

Returns the difference between two vectors.

Original signature is 'GLKVector3 GLKVector3Subtract ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

SubtractScalar ( GLKVector3 vector, float value ) : GLKVector3

Returns a new vector created by subtracting a scalar value from each component of a vector.

Original signature is 'GLKVector3 GLKVector3SubtractScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

Method Details

Add() public static method

Returns the sum of two vectors.

Original signature is 'GLKVector3 GLKVector3Add ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Add ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return GLKVector3

AddScalar() public static method

Returns a new vector created by adding a scalar value to each component of a vector.

Original signature is 'GLKVector3 GLKVector3AddScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AddScalar ( GLKVector3 vector, float value ) : GLKVector3
vector GLKVector3 MISSING
value float MISSING
return GLKVector3

AllEqualToScalar() public static method

Returns a Boolean value that states whether all the components of the source vector are equal to a scalar value.

Original signature is 'bool GLKVector3AllEqualToScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AllEqualToScalar ( GLKVector3 vector, float value ) : bool
vector GLKVector3 MISSING
value float MISSING
return bool

AllEqualToVector3() public static method

Returns a Boolean value that indicates whether each component of the first vector is equal to the corresponding component of a second vector.

Original signature is 'bool GLKVector3AllEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static AllEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : bool
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return bool

AllGreaterThanOrEqualToScalar() public static method

Returns a Boolean value that states whether all the components of the source vector are greater than or equal to a scalar value.

Original signature is 'bool GLKVector3AllGreaterThanOrEqualToScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanOrEqualToScalar ( GLKVector3 vector, float value ) : bool
vector GLKVector3 MISSING
value float MISSING
return bool

AllGreaterThanOrEqualToVector3() public static method

Returns a Boolean value that indicates whether each component of the first vector is greater than or equal to the corresponding component of a second vector.

Original signature is 'bool GLKVector3AllGreaterThanOrEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanOrEqualToVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : bool
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return bool

AllGreaterThanScalar() public static method

Returns a Boolean value that states whether all the components of the source vector are greater than a scalar value.

Original signature is 'bool GLKVector3AllGreaterThanScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanScalar ( GLKVector3 vector, float value ) : bool
vector GLKVector3 MISSING
value float MISSING
return bool

AllGreaterThanVector3() public static method

Returns a Boolean value that indicates whether each component of the first vector is greater than the corresponding component of a second vector.

Original signature is 'bool GLKVector3AllGreaterThanVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanVector3 ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : bool
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return bool

CrossProduct() public static method

Returns the cross product of two vectors.

Original signature is 'GLKVector3 GLKVector3CrossProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static CrossProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return GLKVector3

Distance() public static method

Returns the distance between two points.

Original signature is 'float GLKVector3Distance ( GLKVector3 vectorStart, GLKVector3 vectorEnd ) {}'

Available in OS X v10.8 and later.

public static Distance ( GLKVector3 vectorStart, GLKVector3 vectorEnd ) : float
vectorStart GLKVector3 MISSING
vectorEnd GLKVector3 MISSING
return float

Divide() public static method

Returns a new vector created by dividing one vector by another.

Original signature is 'GLKVector3 GLKVector3Divide ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Divide ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return GLKVector3

DivideScalar() public static method

Returns a new vector created by dividing each component of a vector by a scalar value.

Original signature is 'GLKVector3 GLKVector3DivideScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

public static DivideScalar ( GLKVector3 vector, float value ) : GLKVector3
vector GLKVector3 MISSING
value float MISSING
return GLKVector3

DotProduct() public static method

Returns the dot product of two vectors.

Original signature is 'float GLKVector3DotProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static DotProduct ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : float
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return float

GLKVector3() public method

Initializes a new instance of the Monobjc.GLKit.GLKVector3 struct.
public GLKVector3 ( float x, float y, float z ) : System.Runtime.InteropServices
x float
y float
z float
return System.Runtime.InteropServices

Length() public static method

Returns the length of a vector.

Original signature is 'float GLKVector3Length ( GLKVector3 vector ) {}'

Available in OS X v10.8 and later.

public static Length ( GLKVector3 vector ) : float
vector GLKVector3 MISSING
return float

Lerp() public static method

Returns a new vector created by linearly interpreting between two vectors.

Original signature is 'GLKVector3 GLKVector3Lerp ( GLKVector3 vectorStart, GLKVector3 vectorEnd, float t ) {}'

Available in OS X v10.8 and later.

public static Lerp ( GLKVector3 vectorStart, GLKVector3 vectorEnd, float t ) : GLKVector3
vectorStart GLKVector3 MISSING
vectorEnd GLKVector3 MISSING
t float MISSING
return GLKVector3

Make() public static method

Returns a new three-component vector created from individual component values.

Original signature is 'GLKVector3 GLKVector3Make ( float x, float y, float z ) {}'

Available in OS X v10.8 and later.

public static Make ( float x, float y, float z ) : GLKVector3
x float MISSING
y float MISSING
z float MISSING
return GLKVector3

MakeWithArray() public static method

Returns a new three-component vector created from an array of components.

Original signature is 'GLKVector3 GLKVector3MakeWithArray ( float values[3] ) {}'

Available in OS X v10.8 and later.

public static MakeWithArray ( IntPtr values ) : GLKVector3
values IntPtr MISSING
return GLKVector3

Maximum() public static method

Returns a new vector whose component value at each position is the largest component value at the same position in the source vectors.

Original signature is 'GLKVector3 GLKVector3Maximum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Maximum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return GLKVector3

Minimum() public static method

Returns a new vector whose component value at each position is the smallest component value at the same position in the source vectors.

Original signature is 'GLKVector3 GLKVector3Minimum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Minimum ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return GLKVector3

Multiply() public static method

Returns the product of two vectors.

Original signature is 'GLKVector3 GLKVector3Multiply ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Multiply ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return GLKVector3

MultiplyScalar() public static method

Returns a new vector created by multiplying each component of a vector by a scalar value.

Original signature is 'GLKVector3 GLKVector3MultiplyScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

public static MultiplyScalar ( GLKVector3 vector, float value ) : GLKVector3
vector GLKVector3 MISSING
value float MISSING
return GLKVector3

Negate() public static method

Returns a new vector created by negating the component values of another vector.

Original signature is 'GLKVector3 GLKVector3Negate ( GLKVector3 vector ) {}'

Available in OS X v10.8 and later.

public static Negate ( GLKVector3 vector ) : GLKVector3
vector GLKVector3 MISSING
return GLKVector3

Normalize() public static method

Returns a new vector created by normalizing the input vector to a length of 1.0.

Original signature is 'GLKVector3 GLKVector3Normalize ( GLKVector3 vector ) {}'

Available in OS X v10.8 and later.

public static Normalize ( GLKVector3 vector ) : GLKVector3
vector GLKVector3 MISSING
return GLKVector3

Project() public static method

Returns a new vector created by projecting a vector onto another vector.

Original signature is 'GLKVector3 GLKVector3Project ( GLKVector3 vectorToProject, GLKVector3 projectionVector ) {}'

Available in OS X v10.8 and later.

public static Project ( GLKVector3 vectorToProject, GLKVector3 projectionVector ) : GLKVector3
vectorToProject GLKVector3 MISSING
projectionVector GLKVector3 MISSING
return GLKVector3

Subtract() public static method

Returns the difference between two vectors.

Original signature is 'GLKVector3 GLKVector3Subtract ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Subtract ( GLKVector3 vectorLeft, GLKVector3 vectorRight ) : GLKVector3
vectorLeft GLKVector3 MISSING
vectorRight GLKVector3 MISSING
return GLKVector3

SubtractScalar() public static method

Returns a new vector created by subtracting a scalar value from each component of a vector.

Original signature is 'GLKVector3 GLKVector3SubtractScalar ( GLKVector3 vector, float value ) {}'

Available in OS X v10.8 and later.

public static SubtractScalar ( GLKVector3 vector, float value ) : GLKVector3
vector GLKVector3 MISSING
value float MISSING
return GLKVector3

Property Details

x public_oe property

The first element.

public float x
return float

y public_oe property

The second element.

public float y
return float

z public_oe property

The third element.

public float z
return float