Table of Contents

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

x float

The

y float

The

z float

The

w float

The

Properties

W

Projective/Homogenous component of the vector

public float W { readonly get; set; }

Property Value

float

X

Horizontal component of the vector

public float X { readonly get; set; }

Property Value

float

Y

Vertical component of the vector

public float Y { readonly get; set; }

Property Value

float

Z

Depth component of the vector

public float Z { readonly get; set; }

Property Value

float

Methods

Get(Vector4, int)

Gets the v

public static float Get(Vector4 v, int index)

Parameters

v Vector4

The

index int

The index

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