Table of Contents

Method ToUnitRgb

Namespace
Box3D
Assembly
Box3D.NET.dll

ToUnitRgb()

Gets the RGB channels as floats in 0..1, for a renderer that wants them that way.

public (float R, float G, float B) ToUnitRgb()

Returns

(float R, float G, float B)

Red, green and blue, each scaled to 0..1.