MtVector4
Namespace: SharpPluginLoader.Core.MtTypes
public struct MtVector4
Inheritance Object → ValueType → MtVector4
Fields
X
public float X;
Y
public float Y;
Z
public float Z;
W
public float W;
Properties
Length
public float Length { get; }
Property Value
LengthSquared
public float LengthSquared { get; }
Property Value
Normalized
public MtVector4 Normalized { get; }
Property Value
Constructors
MtVector4(Single, Single, Single, Single)
MtVector4(float x, float y, float z, float w)
Parameters
x
Single
y
Single
z
Single
w
Single
MtVector4(MtVector3, Single)
MtVector4(MtVector3 v3, float w)
Parameters
v3
MtVector3
w
Single
Methods
Equals(Object)
bool Equals(object obj)
Parameters
obj
Object
Returns
GetHashCode()
int GetHashCode()
Returns
SetLength(Single)
MtVector4 SetLength(float length)
Parameters
length
Single
Returns
Limit(Single)
MtVector4 Limit(float limit)
Parameters
limit
Single
Returns
Dot(MtVector4, MtVector4)
float Dot(MtVector4 a, MtVector4 b)
Parameters
Returns
Lerp(MtVector4, MtVector4, Single)
MtVector4 Lerp(MtVector4 a, MtVector4 b, float t)
Parameters
t
Single
Returns
ToVector3()
MtVector3 ToVector3()