Struct NiColor
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.dll
A three-float color, matching the game's NiColor. Each channel runs 0 to 1 rather than 0 to 255.
public readonly struct NiColor : IEquatable<NiColor>
- Implements
- Inherited Members
Constructors
NiColor(float, float, float)
A three-float color, matching the game's NiColor. Each channel runs 0 to 1 rather than 0 to 255.
public NiColor(float Red, float Green, float Blue)
Parameters
Properties
Blue
public float Blue { get; init; }
Property Value
Green
public float Green { get; init; }
Property Value
Red
public float Red { get; init; }
Property Value
Methods
Deconstruct(out float, out float, out float)
public void Deconstruct(out float Red, out float Green, out float Blue)
Parameters
Equals(NiColor)
public bool Equals(NiColor other)
Parameters
otherNiColor
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(NiColor, NiColor)
public static bool operator ==(NiColor left, NiColor right)
Parameters
Returns
operator !=(NiColor, NiColor)
public static bool operator !=(NiColor left, NiColor right)