DOMLightExtended

From Virtual World Web Wiki
Jump to: navigation, search

Represents a DOMLight in JavaScript.

Remarks [edit]

Properties

bool AffectMaterialColor {get; set;} // Via attribution on DOMLight
True if this light should affect the color of materials it illuminates (immissive materials?)
bool AffectMaterialIntensity {get; set;} // Via attribution on DOMLight
True if this light should affect the intensity of materials it illuminates (immissive materials?)
float BounceIntensity {get; set;} // Via attribution on DOMLight
A bounce intensity modifier
Color32 Color {get; set;} // Via attribution on DOMLight
The light's color
DOMLightEffect Effect {get; set;} // Via attribution on DOMLight
Specifies a client-side optimized effect to run on the light as a DOMLightEffect enumeration.
float EffectIntensity {get; set;} // Via attribution on DOMLight
If an effect is active on this light, the intensity of the effect.
float EffectPhaseShift {get; set;} // Via attribution on DOMLight
If an effect is active on this light, the phase shift.
float EffectSpeed {get; set;} // Via attribution on DOMLight
If an effect is active on this light, the speed at which it runs.
float Intensity {get; set;} // Via attribution on DOMLight
The light's intensity
DOMLightType LightType {get; set;} // Via attribution on DOMLight
The type of light created by this node as a DOMLightType enumeration
float Range {get; set;} // Via attribution on DOMLight
The maximum range of this light
string ResourceName {get; set;} // Via attribution on DOMLight
The name of the resource withing the ResourceUri assetbundle that represents a light "cookie"
ResourceValue ResourceUri {get; set;} // Via attribution on DOMLight
The resource for a light "cookie"
float ShadowStrength {get; set;} // Via attribution on DOMLight
The strength of the shadows cast by this light (if any)
DOMLightShadows ShadowType {get; set;} // Via attribution on DOMLight
The type of shadows cast by this light as a DOMLightShadows enumeration
bool SoftenEffect {get; set;} // Via attribution on DOMLight
If an effect is active on this light, request that it be "softened".
float SpotAngle {get; set;} // Via attribution on DOMLight
The angle of the light's cone if it's a spot light