EffectStateManager.SetLight Method |
Language: |
Sets a light.
Visual Basic .NET MustOverride Public Sub SetLight( _
ByVal lightIndex As Integer, _
ByVal light As Light _
)C# public abstract void SetLight(
int lightIndex,
Light light
);Managed C++ public: virtual void SetLight(
int lightIndex,
Light *light
) = 0;JScript .NET public abstract function SetLight(
lightIndex : int,
light : Light
);
lightIndex System.Int32. The zero-based index of the light. light Microsoft.DirectX.Direct3D.Light. The Light object to set.
SetLight is a user-implemented method that is called from an effect during rendering.
Feedback? Please provide us with your comments on this topic.