C# Class Monobjc.GLKit.GLKVector4

Afficher le fichier Open project: Monobjc/monobjc Class Usage Examples

Méthodes publiques

Свойство Type Description
w float
x float
y float
z float

Méthodes publiques

Méthode Description
Add ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4

Returns the sum of two vectors.

Original signature is 'GLKVector4 GLKVector4Add ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

AddScalar ( GLKVector4 vector, float value ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4AddScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

AllEqualToScalar ( GLKVector4 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 GLKVector4AllEqualToScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

AllEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 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 GLKVector4AllEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

AllGreaterThanOrEqualToScalar ( GLKVector4 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 GLKVector4AllGreaterThanOrEqualToScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

AllGreaterThanOrEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 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 GLKVector4AllGreaterThanOrEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

AllGreaterThanScalar ( GLKVector4 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 GLKVector4AllGreaterThanScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

AllGreaterThanVector4 ( GLKVector4 vectorLeft, GLKVector4 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 GLKVector4AllGreaterThanVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

CrossProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4

Returns the cross product of two vectors.

Original signature is 'GLKVector4 GLKVector4CrossProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

Distance ( GLKVector4 vectorStart, GLKVector4 vectorEnd ) : float

Returns the distance between two points.

Original signature is 'float GLKVector4Distance ( GLKVector4 vectorStart, GLKVector4 vectorEnd ) {}'

Available in OS X v10.8 and later.

Divide ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4Divide ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

DivideScalar ( GLKVector4 vector, float value ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4DivideScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

DotProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : float

Returns the dot product of two vectors.

Original signature is 'float GLKVector4DotProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

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

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

Length ( GLKVector4 vector ) : float

Returns the length of a vector.

Original signature is 'float GLKVector4Length ( GLKVector4 vector ) {}'

Available in OS X v10.8 and later.

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

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

Original signature is 'GLKVector4 GLKVector4Lerp ( GLKVector4 vectorStart, GLKVector4 vectorEnd, float t ) {}'

Available in OS X v10.8 and later.

Make ( float x, float y, float z, float w ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4Make ( float x, float y, float z, float w ) {}'

Available in OS X v10.8 and later.

MakeWithArray ( IntPtr values ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4MakeWithArray ( float values[4] ) {}'

Available in OS X v10.8 and later.

MakeWithVector3 ( GLKVector3 vector, float w ) : GLKVector4

Returns a new four-component vector created by combining a three-component vector with a scalar value.

Original signature is 'GLKVector4 GLKVector4MakeWithVector3 ( GLKVector3 vector, float w ) {}'

Available in OS X v10.8 and later.

Maximum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4

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 'GLKVector4 GLKVector4Maximum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

Minimum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4

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 'GLKVector4 GLKVector4Minimum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

Multiply ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4

Returns the product of two vectors.

Original signature is 'GLKVector4 GLKVector4Multiply ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

MultiplyScalar ( GLKVector4 vector, float value ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4MultiplyScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

Negate ( GLKVector4 vector ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4Negate ( GLKVector4 vector ) {}'

Available in OS X v10.8 and later.

Normalize ( GLKVector4 vector ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4Normalize ( GLKVector4 vector ) {}'

Available in OS X v10.8 and later.

Project ( GLKVector4 vectorToProject, GLKVector4 projectionVector ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4Project ( GLKVector4 vectorToProject, GLKVector4 projectionVector ) {}'

Available in OS X v10.8 and later.

Subtract ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4

Returns the difference between two vectors.

Original signature is 'GLKVector4 GLKVector4Subtract ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

SubtractScalar ( GLKVector4 vector, float value ) : GLKVector4

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

Original signature is 'GLKVector4 GLKVector4SubtractScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

Method Details

Add() public static méthode

Returns the sum of two vectors.

Original signature is 'GLKVector4 GLKVector4Add ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Add ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat GLKVector4

AddScalar() public static méthode

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

Original signature is 'GLKVector4 GLKVector4AddScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AddScalar ( GLKVector4 vector, float value ) : GLKVector4
vector GLKVector4 MISSING
value float MISSING
Résultat GLKVector4

AllEqualToScalar() public static méthode

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

Original signature is 'bool GLKVector4AllEqualToScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AllEqualToScalar ( GLKVector4 vector, float value ) : bool
vector GLKVector4 MISSING
value float MISSING
Résultat bool

AllEqualToVector4() public static méthode

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 GLKVector4AllEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static AllEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : bool
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat bool

AllGreaterThanOrEqualToScalar() public static méthode

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 GLKVector4AllGreaterThanOrEqualToScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanOrEqualToScalar ( GLKVector4 vector, float value ) : bool
vector GLKVector4 MISSING
value float MISSING
Résultat bool

AllGreaterThanOrEqualToVector4() public static méthode

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 GLKVector4AllGreaterThanOrEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanOrEqualToVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : bool
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat bool

AllGreaterThanScalar() public static méthode

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

Original signature is 'bool GLKVector4AllGreaterThanScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanScalar ( GLKVector4 vector, float value ) : bool
vector GLKVector4 MISSING
value float MISSING
Résultat bool

AllGreaterThanVector4() public static méthode

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 GLKVector4AllGreaterThanVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static AllGreaterThanVector4 ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : bool
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat bool

CrossProduct() public static méthode

Returns the cross product of two vectors.

Original signature is 'GLKVector4 GLKVector4CrossProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static CrossProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat GLKVector4

Distance() public static méthode

Returns the distance between two points.

Original signature is 'float GLKVector4Distance ( GLKVector4 vectorStart, GLKVector4 vectorEnd ) {}'

Available in OS X v10.8 and later.

public static Distance ( GLKVector4 vectorStart, GLKVector4 vectorEnd ) : float
vectorStart GLKVector4 MISSING
vectorEnd GLKVector4 MISSING
Résultat float

Divide() public static méthode

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

Original signature is 'GLKVector4 GLKVector4Divide ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Divide ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat GLKVector4

DivideScalar() public static méthode

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

Original signature is 'GLKVector4 GLKVector4DivideScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

public static DivideScalar ( GLKVector4 vector, float value ) : GLKVector4
vector GLKVector4 MISSING
value float MISSING
Résultat GLKVector4

DotProduct() public static méthode

Returns the dot product of two vectors.

Original signature is 'float GLKVector4DotProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static DotProduct ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : float
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat float

GLKVector4() public méthode

Initializes a new instance of the Monobjc.GLKit.GLKVector4 struct.
public GLKVector4 ( float x, float y, float z, float w ) : System.Runtime.InteropServices
x float
y float
z float
w float
Résultat System.Runtime.InteropServices

Length() public static méthode

Returns the length of a vector.

Original signature is 'float GLKVector4Length ( GLKVector4 vector ) {}'

Available in OS X v10.8 and later.

public static Length ( GLKVector4 vector ) : float
vector GLKVector4 MISSING
Résultat float

Lerp() public static méthode

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

Original signature is 'GLKVector4 GLKVector4Lerp ( GLKVector4 vectorStart, GLKVector4 vectorEnd, float t ) {}'

Available in OS X v10.8 and later.

public static Lerp ( GLKVector4 vectorStart, GLKVector4 vectorEnd, float t ) : GLKVector4
vectorStart GLKVector4 MISSING
vectorEnd GLKVector4 MISSING
t float MISSING
Résultat GLKVector4

Make() public static méthode

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

Original signature is 'GLKVector4 GLKVector4Make ( float x, float y, float z, float w ) {}'

Available in OS X v10.8 and later.

public static Make ( float x, float y, float z, float w ) : GLKVector4
x float MISSING
y float MISSING
z float MISSING
w float MISSING
Résultat GLKVector4

MakeWithArray() public static méthode

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

Original signature is 'GLKVector4 GLKVector4MakeWithArray ( float values[4] ) {}'

Available in OS X v10.8 and later.

public static MakeWithArray ( IntPtr values ) : GLKVector4
values IntPtr MISSING
Résultat GLKVector4

MakeWithVector3() public static méthode

Returns a new four-component vector created by combining a three-component vector with a scalar value.

Original signature is 'GLKVector4 GLKVector4MakeWithVector3 ( GLKVector3 vector, float w ) {}'

Available in OS X v10.8 and later.

public static MakeWithVector3 ( GLKVector3 vector, float w ) : GLKVector4
vector GLKVector3 MISSING
w float MISSING
Résultat GLKVector4

Maximum() public static méthode

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 'GLKVector4 GLKVector4Maximum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Maximum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat GLKVector4

Minimum() public static méthode

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 'GLKVector4 GLKVector4Minimum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Minimum ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat GLKVector4

Multiply() public static méthode

Returns the product of two vectors.

Original signature is 'GLKVector4 GLKVector4Multiply ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Multiply ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat GLKVector4

MultiplyScalar() public static méthode

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

Original signature is 'GLKVector4 GLKVector4MultiplyScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

public static MultiplyScalar ( GLKVector4 vector, float value ) : GLKVector4
vector GLKVector4 MISSING
value float MISSING
Résultat GLKVector4

Negate() public static méthode

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

Original signature is 'GLKVector4 GLKVector4Negate ( GLKVector4 vector ) {}'

Available in OS X v10.8 and later.

public static Negate ( GLKVector4 vector ) : GLKVector4
vector GLKVector4 MISSING
Résultat GLKVector4

Normalize() public static méthode

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

Original signature is 'GLKVector4 GLKVector4Normalize ( GLKVector4 vector ) {}'

Available in OS X v10.8 and later.

public static Normalize ( GLKVector4 vector ) : GLKVector4
vector GLKVector4 MISSING
Résultat GLKVector4

Project() public static méthode

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

Original signature is 'GLKVector4 GLKVector4Project ( GLKVector4 vectorToProject, GLKVector4 projectionVector ) {}'

Available in OS X v10.8 and later.

public static Project ( GLKVector4 vectorToProject, GLKVector4 projectionVector ) : GLKVector4
vectorToProject GLKVector4 MISSING
projectionVector GLKVector4 MISSING
Résultat GLKVector4

Subtract() public static méthode

Returns the difference between two vectors.

Original signature is 'GLKVector4 GLKVector4Subtract ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) {}'

Available in OS X v10.8 and later.

public static Subtract ( GLKVector4 vectorLeft, GLKVector4 vectorRight ) : GLKVector4
vectorLeft GLKVector4 MISSING
vectorRight GLKVector4 MISSING
Résultat GLKVector4

SubtractScalar() public static méthode

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

Original signature is 'GLKVector4 GLKVector4SubtractScalar ( GLKVector4 vector, float value ) {}'

Available in OS X v10.8 and later.

public static SubtractScalar ( GLKVector4 vector, float value ) : GLKVector4
vector GLKVector4 MISSING
value float MISSING
Résultat GLKVector4

Property Details

w public_oe property

The fourth element.

public float w
Résultat float

x public_oe property

The first element.

public float x
Résultat float

y public_oe property

The second element.

public float y
Résultat float

z public_oe property

The third element.

public float z
Résultat float