The color channel can have 1-8 lights associated with it, set using ColorChannelControl.LitMask. The ColorChannelControl.DiffuseFunction and ColorChannelControl.AttenuationFunction parameters control the lighting equation for all lights associated with this channel. The ColorChannelControl.AmbientSrc and ColorChannelControl.MaterialSrc used to select whether the input source colors come from the register colors or vertex colors.
More...
The color channel can have 1-8 lights associated with it, set using ColorChannelControl.LitMask. The ColorChannelControl.DiffuseFunction and ColorChannelControl.AttenuationFunction parameters control the lighting equation for all lights associated with this channel. The ColorChannelControl.AmbientSrc and ColorChannelControl.MaterialSrc used to select whether the input source colors come from the register colors or vertex colors.
◆ OnPropertyChanged()
void ColorChannelControl.OnPropertyChanged |
( |
[CallerMemberName] string | propertyName = null | ) |
|
|
protected |
◆ m_ambientSrc
◆ m_attenuationFunction
◆ m_diffuseFunction
◆ m_lightingEnabled
bool ColorChannelControl.m_lightingEnabled |
|
private |
◆ m_litMask
◆ m_materialSrc
◆ AmbientSrc
Source for the ambient color. When set to GXColorSrc.Register the color set by GX_SetChanAmbColor is used.
◆ AttenuationFunction
Attenuation function to use.
◆ DiffuseFunction
◆ LightingEnabled
bool ColorChannelControl.LightingEnabled |
|
getset |
Whether or not to enable lighting for this channel. If false, the material source color is passed through as the material output color.
◆ LitMask
Light ID or IDs to associate with this channel.
◆ MaterialSrc
Source for the Material color. When set to GXColorSrc.Register the color set by GX_SetChanMatColor is used.
◆ PropertyChanged
PropertyChangedEventHandler ColorChannelControl.PropertyChanged |
The documentation for this class was generated from the following file: