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
| Signature | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
instance | SpotLight | Represents the instance value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
allowShadow | boolean | get/set | Virtual attribute exposed by isAllowShadow. Access it like a field to read or write the underlying value. |
color | Color | get/set | Virtual attribute exposed by getColor. Access it like a field to read or write the underlying value. |
falloffRadius | float | get/set | Virtual attribute exposed by getFalloffRadius. Access it like a field to read or write the underlying value. |
innerConeAngle | float | get/set | Virtual attribute exposed by getInnerConeAngle. Access it like a field to read or write the underlying value. |
lumens | float | get/set | Virtual attribute exposed by getLumens. Access it like a field to read or write the underlying value. |
outerConeAngle | float | get/set | Virtual attribute exposed by getOuterConeAngle. Access it like a field to read or write the underlying value. |
shadowBias | float | get/set | Virtual attribute exposed by getShadowBias. Access it like a field to read or write the underlying value. |
shadowFarDistance | float | get/set | Virtual attribute exposed by getShadowFarDistance. Access it like a field to read or write the underlying value. |
shadowNormalBias | float | get/set | Virtual attribute exposed by getShadowNormalBias. Access it like a field to read or write the underlying value. |
shadowResolutionID | int | get/set | Virtual attribute exposed by getShadowResolutionID. Access it like a field to read or write the underlying value. |