public class SpotLightsAttribute extends Attribute
Attribute which can be used to send an Array of SpotLight instances to the Shader. The
lights are stored by reference, the copy() or SpotLightsAttribute(SpotLightsAttribute) method
will not create new lights.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
Alias |
Array<SpotLight> |
lights |
static long |
Type |
| Constructor and Description |
|---|
SpotLightsAttribute() |
SpotLightsAttribute(SpotLightsAttribute copyFrom) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Attribute o) |
SpotLightsAttribute |
copy() |
int |
hashCode() |
static boolean |
is(long mask) |
equals, equals, getAttributeAlias, getAttributeType, register, toStringpublic static final java.lang.String Alias
public static final long Type
public SpotLightsAttribute()
public SpotLightsAttribute(SpotLightsAttribute copyFrom)