Struct Vector4
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Assembly: Inferno.Desktop.dll
Syntax
Constructors
|
Improve this Doc
View Source
Vector4(Vector3, Single)
Declaration
public Vector4(Vector3 value, float w)
Parameters
Type |
Name |
Description |
Vector3 |
value |
|
System.Single |
w |
|
|
Improve this Doc
View Source
Vector4(Single, Single, Single, Single)
Declaration
public Vector4(float x, float y, float z, float w)
Parameters
Type |
Name |
Description |
System.Single |
x |
X component
|
System.Single |
y |
Y component
|
System.Single |
z |
Z component
|
System.Single |
w |
W component
|
Fields
|
Improve this Doc
View Source
W
The W component of the vector
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
X
The X component of the vector.
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Y
The Y component of the vector
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Z
The Z component of the vector
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
|
Improve this Doc
View Source
Magnitude
The magnitude of the vector.
Declaration
public float Magnitude { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
Dot(Vector4, Vector4)
Get the dot product of 2 vectors.
Declaration
public static float Dot(Vector4 a, Vector4 b)
Parameters
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Equals(Vector4)
Declaration
public bool Equals(Vector4 other)
Parameters
Type |
Name |
Description |
Vector4 |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
|
Improve this Doc
View Source
Declaration
public static Vector4 Transform(Vector4 position, Matrix matrix)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Addition(Vector4, Vector4)
Declaration
public static Vector4 operator +(Vector4 a, Vector4 b)
Parameters
Returns
|
Improve this Doc
View Source
Addition(Vector4, Int32)
Declaration
public static Vector4 operator +(Vector4 a, int b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Int32 |
b |
|
Returns
|
Improve this Doc
View Source
Addition(Vector4, Single)
Declaration
public static Vector4 operator +(Vector4 a, float b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Single |
b |
|
Returns
|
Improve this Doc
View Source
Division(Vector4, Vector4)
Declaration
public static Vector4 operator /(Vector4 a, Vector4 b)
Parameters
Returns
|
Improve this Doc
View Source
Division(Vector4, Int32)
Declaration
public static Vector4 operator /(Vector4 a, int b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Int32 |
b |
|
Returns
|
Improve this Doc
View Source
Division(Vector4, Single)
Declaration
public static Vector4 operator /(Vector4 a, float b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Single |
b |
|
Returns
|
Improve this Doc
View Source
Equality(Vector4, Vector4)
Declaration
public static bool operator ==(Vector4 a, Vector4 b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(Vector4, Vector4)
Declaration
public static bool operator !=(Vector4 a, Vector4 b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Multiply(Vector4, Vector4)
Declaration
public static Vector4 operator *(Vector4 a, Vector4 b)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(Vector4, Int32)
Declaration
public static Vector4 operator *(Vector4 a, int b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Int32 |
b |
|
Returns
|
Improve this Doc
View Source
Multiply(Vector4, Single)
Declaration
public static Vector4 operator *(Vector4 a, float b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Single |
b |
|
Returns
|
Improve this Doc
View Source
Subtraction(Vector4, Vector4)
Declaration
public static Vector4 operator -(Vector4 a, Vector4 b)
Parameters
Returns
|
Improve this Doc
View Source
Subtraction(Vector4, Int32)
Declaration
public static Vector4 operator -(Vector4 a, int b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Int32 |
b |
|
Returns
|
Improve this Doc
View Source
Subtraction(Vector4, Single)
Declaration
public static Vector4 operator -(Vector4 a, float b)
Parameters
Type |
Name |
Description |
Vector4 |
a |
|
System.Single |
b |
|
Returns