Syntax
dbFadeObject(ObjectID, FadeValue.f)
Description
This command will make the specified 3D object fade to the current ambient light level. With ambient light set to zero and the object faded using a value of zero, the object will be completely unlit. With a fade value of 200 its illumination will be doubled. With a fade value of 50, the illumination is halved. This technique can also be used with a ghosted object to slowly fade an object until completely invisible. The parameter should be specified using an integer value. Be aware that this command affects the actual material colour of the object. To use an alpha fade, use the dbSetAlphaMappingOn command.
See Also