Class CImVector
A color stored as b, g, r, a bytes — the client's immediate-mode vertex color layout (WMO MOCV, doodad colors).
public class CImVector : IDisposable
- Inheritance
-
CImVector
- Implements
- Inherited Members
Constructors
CImVector()
public CImVector()
CImVector(byte, byte, byte, byte)
public CImVector(byte b, byte g, byte r, byte a)
Parameters
CImVector(CImVector)
Copy-construct: a deep copy of other (the C++ copy constructor).
public CImVector(CImVector other)
Parameters
otherCImVector
Properties
A
The alpha component.
public byte A { get; set; }
Property Value
B
The blue component.
public byte B { get; set; }
Property Value
G
The green component.
public byte G { get; set; }
Property Value
R
The red component.
public byte R { get; set; }
Property Value
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
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(CImVector?, CImVector?)
public static bool operator ==(CImVector? l, CImVector? r)
Parameters
Returns
operator !=(CImVector?, CImVector?)
public static bool operator !=(CImVector? l, CImVector? r)