Kategorie: Objekte
Ab Engineversion: 7.0 OC
SetLightColor
Beschreibung
Sets the color of the light that is emitted from this object. By default the object emits white light, if it has a light range. See SetLightRange for further details.
Syntax
void SetLightColor(int color);
Parameter
- color:
Beispiel
var candle_shine=CreateObject(EnvPack_Candle_Shine); candle_shine->SetLightRange(30, 20); candle_shine->SetLightColor(RGB(255,163,58));
Gives a warm shine to a candle shine object.
Siehe auch: GetLightColor, SetLightRange