|
|
@ -24,7 +24,7 @@ export class Light extends Entity
|
|
|
|
@AutoRecord IndirectLightingIntensity = 1; //0-200 间接光照强度
|
|
|
|
@AutoRecord IndirectLightingIntensity = 1; //0-200 间接光照强度
|
|
|
|
//LightComponent extends LightComponentBase
|
|
|
|
//LightComponent extends LightComponentBase
|
|
|
|
@AutoRecord SpecularScale = 1;//高光度范围 默认1 (物理)
|
|
|
|
@AutoRecord SpecularScale = 1;//高光度范围 默认1 (物理)
|
|
|
|
protected _ShowHelper = Light.DefaultShowHelpr;
|
|
|
|
protected _ShowHelper = true;// Light.DefaultShowHelpr; 默认绘制的灯光总是有助手,避免让用户困惑
|
|
|
|
protected _CaseShadow = Light.DefaultCaseShadow;//投射阴影
|
|
|
|
protected _CaseShadow = Light.DefaultCaseShadow;//投射阴影
|
|
|
|
protected _OpenLight = Light.DefaultOpenLight;//开灯
|
|
|
|
protected _OpenLight = Light.DefaultOpenLight;//开灯
|
|
|
|
static DefaultOpenLight = false;
|
|
|
|
static DefaultOpenLight = false;
|
|
|
|