Class: Light
This page documents the methods and fields available in the Light class.
Members
| Signature | Description |
|---|---|
Light(int) | Creates a new instance of Light. |
forcePriority(int) | Performs the forcePriority operation using the provided parameters (idx). |
getColor() | Returns the current color. |
getCustomLightShadowViewCalculator() | Returns the current custom light shadow view calculator. |
getDiameter() | Returns the current diameter. |
getDistance() | Returns the current distance. |
getIntensity() | Returns the current intensity. |
getMaxAngle() | Returns the current max angle. |
getMinAngle() | Returns the current min angle. |
getShadowBlur() | Returns the current shadow blur. |
getShadowBlurSize() | Returns the current shadow blur size. |
getShadowResolution() | Returns the current shadow resolution. |
getShadowStrength() | Returns the current shadow strength. |
getShadowVisibleDistance() | Returns the current shadow visible distance. |
getType() | Returns the current type. |
isShadowEnabled() | Returns whether shadow enabled is true. |
setColor(Color) | Sets or updates the color. |
setCustomLightShadowViewCalculator(CustomLightShadowViewCalculator) | Sets or updates the custom light shadow view calculator. |
setDiameter(float) | Sets or updates the diameter. |
setDistance(float) | Sets or updates the distance. |
setIntensity(float) | Sets or updates the intensity. |
setMaxAngle(float) | Sets or updates the max angle. |
setMinAngle(float) | Sets or updates the min angle. |
setShadowBlur(float) | Sets or updates the shadow blur. |
setShadowBlurSize(float) | Sets or updates the shadow blur size. |
setShadowEnabled(boolean) | Sets or updates the shadow enabled. |
setShadowResolution(int) | Sets or updates the shadow resolution. |
setShadowStrength(float) | Sets or updates the shadow strength. |
setShadowVisibleDistance(float) | Sets or updates the shadow visible distance. |
setType(int) | Sets or updates the type. |