public struct
An unsafe MVector that copies a Vector3 for Faster calculations.
public unsafe float*
pX
A pointer to the X-Axis.
public unsafe float*
pY
A pointer to the Y-Axis.
public unsafe float*
pZ
A pointer to the Z-Axis.
[MethodImpl(MethodImplOptions.AggressiveInlining)] public static unsafe FVector
Summary:
Copies the address of a Vector3's axes.
Params:
V:
The Vector3 to copy.
Returns:
A new FVector initialised with XYZ pointers only.
public unsafe MVector
Summary:
Dereferences pointers into XYZ coordinates into an MVector.
Returns:
This MVector with dereferenced components.
public void
Summary:
Sets all component pointers to point to null.
Remarks:
Also calls the C# Garbage Collector.
public static implicit operator MVector
Summary:
Implicit conversion from a FVector to an MVector.
public unsafe Vector3
XY
A Vector3 ignoring the Z component.
public unsafe Vector3
XZ
A Vector3 ignoring the Y component.
public unsafe Vector3
YZ
A Vector3 ignoring the X component.
public unsafe float
SqrMagnitude
The square magnitude of this Vector.
[MethodImpl(MethodImplOptions.AggressiveInlining)] public unsafe float
Summary:
Fast distance calculation.
Returns:
The distance between this FVector and Vector3 Target.
[MethodImpl(MethodImplOptions.AggressiveInlining)] public unsafe FVector
Summary:
Fast vector normalisation.
Returns:
The normalised FVector.
public unsafe MRotator
Summary:
Fast Pitch and Yaw calculation.
Remarks:
Roll is zero.
Returns:
An MRotator rotated to face this FVector's direction.
public unsafe FVector
Summary:
Rotates this FVector at an angle of AngleDegrees around Axis.
Remarks:
While looking towards Axis:
+ Angle is CW.
Params:
AngleDegrees:
The degrees at which to rotate this FVector.
Axis:
The axis to rotate this FVector around.
public static unsafe float
Summary:
The angle between two vectors in degrees.
Returns:
An approximation of the angle between L and R in degrees, accurate to +-.1 degrees.
public static unsafe float
Summary:
The vector dot | product of Left and Right.
Remarks:
Does not assume Left and Right are normalised.