Syntax

dbSetObjectAmbience(ObjectID, ColorValue)

Description

This command will alter the material ambience component of the object. The ambience component makes up one of the factors that controls the final colour of the object, specifically the amount of global ambient light it receives. If the global ambient was red, and this component was set to white, the object would receive 'full' ambient light and drown out any lighting otherwise applied to the object. The object would be completely red. This command should not be confused with dbSetObjectAmbient which controls the flag which states whether the object receives any ambient light whatsoever.

See Also

dbFadeObject, dbSetObjectAmbient, dbSetObjectColor, dbSetObjectDiffuse, dbSetObjectEmmissive, dbSetObjectSpecular, dbSetObjectSpecularPower