MtVector3
Namespace: SharpPluginLoader.Core.MtTypes
public struct MtVector3
Inheritance Object → ValueType → MtVector3
Fields
X
public float X;
Y
public float Y;
Z
public float Z;
Properties
Zero
public static MtVector3 Zero { get; }
Property Value
One
public static MtVector3 One { get; }
Property Value
Forward
public static MtVector3 Forward { get; }
Property Value
Up
public static MtVector3 Up { get; }
Property Value
UnitX
public static MtVector3 UnitX { get; }
Property Value
UnitY
public static MtVector3 UnitY { get; }
Property Value
UnitZ
public static MtVector3 UnitZ { get; }
Property Value
Length
public float Length { get; }
Property Value
LengthSquared
public float LengthSquared { get; }
Property Value
Normalized
public MtVector3 Normalized { get; }
Property Value
Constructors
MtVector3(Single, Single, Single)
MtVector3(float x, float y, float z)
Parameters
x
Single
y
Single
z
Single
Methods
Equals(Object)
bool Equals(object obj)
Parameters
obj
Object
Returns
GetHashCode()
int GetHashCode()
Returns
SetLength(Single)
MtVector3 SetLength(float length)
Parameters
length
Single
Returns
Limit(Single)
MtVector3 Limit(float limit)
Parameters
limit
Single
Returns
Dot(MtVector3, MtVector3)
float Dot(MtVector3 a, MtVector3 b)
Parameters
Returns
Cross(MtVector3, MtVector3)
MtVector3 Cross(MtVector3 a, MtVector3 b)
Parameters
Returns
Lerp(MtVector3, MtVector3, Single)
MtVector3 Lerp(MtVector3 a, MtVector3 b, float t)
Parameters
t
Single