public final class R2SceneLights extends Object implements R2SceneLightsType
R2SceneLightsType interface.| Modifier and Type | Method and Description |
|---|---|
long |
lightsCount() |
void |
lightsExecute(R2SceneLightsConsumerType c)
Batch the lights and pass them to the given consumer for rendering.
|
R2SceneLightsGroupType |
lightsGetGroup(int group)
Get access to a numbered group.
|
void |
lightsReset()
Remove all lights from the scene.
|
static R2SceneLightsType |
newLights() |
public static R2SceneLightsType newLights()
public void lightsReset()
R2SceneLightsTypelightsReset in interface R2SceneLightsTypepublic R2SceneLightsGroupType lightsGetGroup(int group)
R2SceneLightsTypelightsGetGroup in interface R2SceneLightsTypegroup - The numbered groupgrouppublic void lightsExecute(R2SceneLightsConsumerType c)
R2SceneLightsTypelightsExecute in interface R2SceneLightsTypec - The consumerpublic long lightsCount()
lightsCount in interface R2SceneLightsTypeCopyright © 2016 <code@io7m.com> http://io7m.com