Share

EffectInstance.SetAmbientColor Method

Sets the ambient color parameter of the effect instance.


Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void SetAmbientColor(
	Color color
)

Parameters

color  Color
The ambient color value.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?