public final class R2SceneLights extends Object implements R2SceneLightsType
R2SceneLightsType
interface.Modifier and Type | Method and Description |
---|---|
static R2SceneLights |
create() |
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.
|
public static R2SceneLights create()
public void lightsReset()
R2SceneLightsType
lightsReset
in interface R2SceneLightsType
public R2SceneLightsGroupType lightsGetGroup(int group)
R2SceneLightsType
lightsGetGroup
in interface R2SceneLightsType
group
- The numbered groupgroup
public void lightsExecute(R2SceneLightsConsumerType c)
R2SceneLightsType
lightsExecute
in interface R2SceneLightsType
c
- The consumerpublic long lightsCount()
lightsCount
in interface R2SceneLightsType
Copyright © 2017 <code@io7m.com> http://io7m.com