Class SpotLightsAttribute

java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.SpotLightsAttribute
All Implemented Interfaces:
Comparable<Attribute>

public class SpotLightsAttribute extends Attribute
An 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.
  • Field Details

    • Alias

      public static final String Alias
      See Also:
    • Type

      public static final int Type
    • lights

      public final com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.environment.SpotLight> lights
  • Constructor Details

    • SpotLightsAttribute

      public SpotLightsAttribute()
    • SpotLightsAttribute

      public SpotLightsAttribute(SpotLightsAttribute copyFrom)
  • Method Details