Constructs an instance of settings with provided values. 
   Namespace:   Autodesk.Revit.DB.DirectContext3D  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0) 
  Since:  2018 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- visibility
-  Type:  System Boolean  
 Source visibility.
- transparency
-  Type:  System Int32  
 Source transparency.
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions ArgumentOutOfRangeException | The value is invalid. The valid range is 0 through 100 |