Revit 2020.1 API |
EffectInstance..::..SetAmbientColor Method |
EffectInstance Class See Also |
Sets the ambient color parameter of the effect instance.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2017
Syntax
C# |
---|
public void SetAmbientColor( Color color ) |
Visual Basic |
---|
Public Sub SetAmbientColor ( _ color As Color _ ) |
Visual C++ |
---|
public: void SetAmbientColor( Color^ color ) |
Parameters
- color
- Type: Autodesk.Revit.DB..::..Color
The ambient color value.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |