Struct Vector4
- Namespace
- Alis.Core.Aspect.Math.Vector
- Assembly
- Alis.dll
The vector
[Serializable]
public struct Vector4 : ISerializable
Implements
Inherited Members
Constructors
Vector4(float, float, float, float)
Initializes a new instance of the Alis.Core.Aspect.Math.Vector.Vector4 class
public Vector4(float x, float y, float z, float w)
Parameters
Properties
W
Projective/Homogenous component of the vector
public float W { readonly get; set; }
Property Value
X
Horizontal component of the vector
public float X { readonly get; set; }
Property Value
Y
Vertical component of the vector
public float Y { readonly get; set; }
Property Value
Z
Depth component of the vector
public float Z { readonly get; set; }
Property Value
Methods
Get(Vector4, int)
Gets the v
public static float Get(Vector4 v, int index)
Parameters
Returns
- float
-
The float
GetObjectData(SerializationInfo, StreamingContext)
Gets the object data using the specified info
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfo-
The info
context
StreamingContext-
The context