@UiThread
public class Light
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnchor()
Get the Anchor property.
|
java.lang.String |
getColor()
Get the Color property.
|
TransitionOptions |
getColorTransition()
Get the Color property transition options.
|
float |
getIntensity()
Get the Intensity property.
|
TransitionOptions |
getIntensityTransition()
Get the Intensity property transition options.
|
Position |
getPosition()
Get the Position property.
|
TransitionOptions |
getPositionTransition()
Get the Position property transition options.
|
void |
setAnchor(java.lang.String anchor)
Set the Anchor property.
|
void |
setColor(int color)
Set the Color property.
|
void |
setColor(java.lang.String color)
Set the Color property.
|
void |
setColorTransition(TransitionOptions options)
Set the Color property transition options.
|
void |
setIntensity(float intensity)
Set the Intensity property.
|
void |
setIntensityTransition(TransitionOptions options)
Set the Intensity property transition options.
|
void |
setPosition(Position position)
Set the Position property.
|
void |
setPositionTransition(TransitionOptions options)
Set the Position property transition options.
|
public void setAnchor(java.lang.String anchor)
anchor
- as String@NonNull public java.lang.String getAnchor()
public void setPosition(@NonNull Position position)
position
- of the light@NonNull public Position getPosition()
@NonNull public TransitionOptions getPositionTransition()
public void setPositionTransition(@NonNull TransitionOptions options)
options
- transition options for positionpublic void setColor(int color)
color
- as intpublic void setColor(java.lang.String color)
color
- as String@NonNull public java.lang.String getColor()
@NonNull public TransitionOptions getColorTransition()
public void setColorTransition(@NonNull TransitionOptions options)
options
- transition options for colorpublic void setIntensity(float intensity)
intensity
- as Float@NonNull public float getIntensity()
@NonNull public TransitionOptions getIntensityTransition()
public void setIntensityTransition(@NonNull TransitionOptions options)
options
- transition options for intensity