Skip to main content

SpotLight

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

Package: JAVARuntime

Category: Light

Component: yes


public class SpotLight extends Component

Constructors

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

Attributes

NameTypeDescription
instanceSpotLightRepresents 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.
colorColorget/setVirtual attribute exposed by getColor. Access it like a field to read or write the underlying value.
falloffRadiusfloatget/setVirtual attribute exposed by getFalloffRadius. Access it like a field to read or write the underlying value.
innerConeAnglefloatget/setVirtual attribute exposed by getInnerConeAngle. Access it like a field to read or write the underlying value.
lumensfloatget/setVirtual attribute exposed by getLumens. Access it like a field to read or write the underlying value.
outerConeAnglefloatget/setVirtual attribute exposed by getOuterConeAngle. 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.
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.