Table of Contents

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

Red float
Green float
Blue float

Properties

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)

public void Deconstruct(out float Red, out float Green, out float Blue)

Parameters

Red float
Green float
Blue float

Equals(NiColor)

public bool Equals(NiColor other)

Parameters

other NiColor

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 ==(NiColor, NiColor)

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

Parameters

left NiColor
right NiColor

Returns

bool

operator !=(NiColor, NiColor)

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

Parameters

left NiColor
right NiColor

Returns

bool