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