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