Class DirectionalLightsAttribute
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.Attribute
-
- com.badlogic.gdx.graphics.g3d.attributes.DirectionalLightsAttribute
-
- All Implemented Interfaces:
java.lang.Comparable<Attribute>
public class DirectionalLightsAttribute extends Attribute
AnAttributewhich can be used to send anArrayofDirectionalLightinstances to theShader. The lights are stored by reference, thecopy()orDirectionalLightsAttribute(DirectionalLightsAttribute)method will not create new lights.
-
-
Constructor Summary
Constructors Constructor Description DirectionalLightsAttribute()DirectionalLightsAttribute(DirectionalLightsAttribute copyFrom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Attribute o)DirectionalLightsAttributecopy()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<DirectionalLight> lights
-
-
Constructor Detail
-
DirectionalLightsAttribute
public DirectionalLightsAttribute()
-
DirectionalLightsAttribute
public DirectionalLightsAttribute(DirectionalLightsAttribute copyFrom)
-
-