Table of Contents

Class M2CompQuat

Namespace
WoWLib.Formats.M2.Root.Record
Assembly
WoWLib.dll
public class M2CompQuat : IDisposable
Inheritance
M2CompQuat
Implements
Inherited Members

Constructors

M2CompQuat()

public M2CompQuat()

M2CompQuat(short, short, short, short)

public M2CompQuat(short x, short y, short z, short w)

Parameters

x short
y short
z short
w short

M2CompQuat(M2CompQuat)

Copy-construct: a deep copy of other (the C++ copy constructor).

public M2CompQuat(M2CompQuat other)

Parameters

other M2CompQuat

Properties

W

The compressed w component (identity stores 65535).

public short W { get; set; }

Property Value

short

X

The compressed x component.

public short X { get; set; }

Property Value

short

Y

The compressed y component.

public short Y { get; set; }

Property Value

short

Z

The compressed z component.

public short Z { get; set; }

Property Value

short

Methods

Dispose()

Release the native object now. Optional: the finalizer releases it on collection anyway - dispose (or using) when you want native memory back promptly.

public virtual void Dispose()

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Reference-identity hash (the C++ type has no hash to mirror).

public override int GetHashCode()

Returns

int

Operators

operator ==(M2CompQuat?, M2CompQuat?)

public static bool operator ==(M2CompQuat? l, M2CompQuat? r)

Parameters

l M2CompQuat
r M2CompQuat

Returns

bool

operator !=(M2CompQuat?, M2CompQuat?)

public static bool operator !=(M2CompQuat? l, M2CompQuat? r)

Parameters

l M2CompQuat
r M2CompQuat

Returns

bool