|
|
Enables or disables lighting.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub Lighting ( _ lightingOn As Boolean _ ) |
| C# |
|---|
public void Lighting( bool lightingOn ) |
| Visual C++ |
|---|
public: void Lighting( bool lightingOn ) |
Parameters
- lightingOn
- Type: System..::..Boolean
Should lighting be enabled.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |