PreviewLighting¶
Namespace Nfty.Model.Render in assembly Nfty.Model.
Preview-only intensity and color for the rasterizer's existing camera-relative light. Does not modify a mesh, texture, archive, or exported model.
Constructors¶
PreviewLighting(int, Rgba32)¶
Creates preview lighting.
Parameters
value(int) - Intensity from zero through 100.color(Rgba32) - RGB light color; alpha is ignored.
Exceptions
ArgumentOutOfRangeException-valueis outside zero through 100.
Properties¶
Color¶
The light's RGB color. Alpha is ignored; rendered texture alpha is preserved.
Default¶
The original full-strength white lighting, preserving the original rendered pixels.
Value¶
Light intensity from zero (black) through 100 (full strength).