Skip to main content

SunLight

Complete API reference for SunLight, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Light

Component: yes


public class SunLight extends Component

Constructors

SignatureDescription
SunLight(SunLight)Executes SunLight and returns after the underlying engine call finishes.
SunLight(Engine)Executes SunLight and returns after the underlying engine call finishes.
SunLight()Executes SunLight and returns after the underlying engine call finishes.

Attributes

NameTypeDescription
instanceSunLightRepresents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
allowShadowbooleanget/setVirtual attribute exposed by isAllowShadow. Access it like a field to read or write the underlying value.
cascadeFarHintfloatget/setVirtual attribute exposed by getCascadeFarHint. Access it like a field to read or write the underlying value.
cascadeNearHintfloatget/setVirtual attribute exposed by getCascadeNearHint. Access it like a field to read or write the underlying value.
colorColorget/setVirtual attribute exposed by getColor. Access it like a field to read or write the underlying value.
luxfloatget/setVirtual attribute exposed by getLux. Access it like a field to read or write the underlying value.
shadowBiasfloatget/setVirtual attribute exposed by getShadowBias. Access it like a field to read or write the underlying value.
shadowCascadesintget/setVirtual attribute exposed by getShadowCascades. Access it like a field to read or write the underlying value.
shadowFarDistancefloatget/setVirtual attribute exposed by getShadowFarDistance. Access it like a field to read or write the underlying value.
shadowNormalBiasfloatget/setVirtual attribute exposed by getShadowNormalBias. Access it like a field to read or write the underlying value.
shadowResolutionIDintget/setVirtual attribute exposed by getShadowResolutionID. Access it like a field to read or write the underlying value.
stableCascadesbooleanget/setVirtual attribute exposed by isStableCascades. Access it like a field to read or write the underlying value.