Turns the scene lighting for given device on or off.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
public void SetRenderLighting( XScreen screen, XDeviceCaps caps ) |
Parameters
- screen
- Type: SGP.XSpace..::.XScreen
The XScreen screen instance that this material will be set active for.
- caps
- Type: SGP.XSpace..::.XDeviceCaps
The device XDeviceCaps capabilities.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | screen is nullNothingnullptra null reference (Nothing in Visual Basic). |