Struct NiColorA
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.dll
A four-float color with alpha, matching the game's NiColorA. Each channel runs 0 to 1 rather than 0 to 255.
public readonly struct NiColorA : IEquatable<NiColorA>
- Implements
- Inherited Members
Constructors
NiColorA(float, float, float, float)
A four-float color with alpha, matching the game's NiColorA. Each channel runs 0 to 1 rather than 0 to 255.
public NiColorA(float Red, float Green, float Blue, float Alpha)
Parameters
Properties
Alpha
public float Alpha { get; init; }
Property Value
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, out float)
public void Deconstruct(out float Red, out float Green, out float Blue, out float Alpha)
Parameters
Equals(NiColorA)
public bool Equals(NiColorA other)
Parameters
otherNiColorA
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 ==(NiColorA, NiColorA)
public static bool operator ==(NiColorA left, NiColorA right)
Parameters
Returns
operator !=(NiColorA, NiColorA)
public static bool operator !=(NiColorA left, NiColorA right)