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
AnAttributewhich can be used to send anArrayofPointLightinstances 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 intcompareTo(Attribute o)PointLightsAttributecopy()inthashCode()static booleanis(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)
-
-