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