Table of Contents

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

Red float
Green float
Blue float
Alpha float

Properties

Alpha

public float Alpha { get; init; }

Property Value

float

Blue

public float Blue { get; init; }

Property Value

float

Green

public float Green { get; init; }

Property Value

float

Red

public float Red { get; init; }

Property Value

float

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

Red float
Green float
Blue float
Alpha float

Equals(NiColorA)

public bool Equals(NiColorA other)

Parameters

other NiColorA

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(NiColorA, NiColorA)

public static bool operator ==(NiColorA left, NiColorA right)

Parameters

left NiColorA
right NiColorA

Returns

bool

operator !=(NiColorA, NiColorA)

public static bool operator !=(NiColorA left, NiColorA right)

Parameters

left NiColorA
right NiColorA

Returns

bool