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