Class PointLightsAttribute
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.Attribute
-
- com.badlogic.gdx.graphics.g3d.attributes.PointLightsAttribute
-
- All Implemented Interfaces:
java.lang.Comparable<Attribute>
public class PointLightsAttribute extends Attribute
AnAttribute
which can be used to send anArray
ofPointLight
instances to theShader
. The lights are stored by reference, thecopy()
orPointLightsAttribute(PointLightsAttribute)
method will not create new lights.
-
-
Constructor Summary
Constructors Constructor Description PointLightsAttribute()
PointLightsAttribute(PointLightsAttribute copyFrom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Attribute o)
PointLightsAttribute
copy()
int
hashCode()
static boolean
is(long mask)
-
Methods inherited from class com.badlogic.gdx.graphics.g3d.Attribute
equals, equals, getAttributeAlias, getAttributeType, register, toString
-
-
-
-
Field Detail
-
Alias
public static final java.lang.String Alias
- See Also:
- Constant Field Values
-
Type
public static final long Type
-
lights
public final Array<PointLight> lights
-
-
Constructor Detail
-
PointLightsAttribute
public PointLightsAttribute()
-
PointLightsAttribute
public PointLightsAttribute(PointLightsAttribute copyFrom)
-
-