Attribute which can be used to send an Array of DirectionalLight instances to the Shader.
The lights are stored by reference, the copy() or DirectionalLightsAttribute(DirectionalLightsAttribute)
method will not create new lights.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public final Array | |
| public static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(Attribute o)
Implements java. Compares this object with the specified object for order. |
| public DirectionalLightsAttribute | |
| public int | hashCode()
Overrides com. Returns a hash code value for this object. |
| public static final boolean |
| Alias | back to summary |
|---|---|
| public static final String Alias | |
| lights | back to summary |
|---|---|
| public final Array<DirectionalLight> lights | |
| Type | back to summary |
|---|---|
| public static final long Type | |
| DirectionalLightsAttribute | back to summary |
|---|---|
| public DirectionalLightsAttribute() | |
| DirectionalLightsAttribute | back to summary |
|---|---|
| public DirectionalLightsAttribute(final DirectionalLightsAttribute copyFrom) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Attribute o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| copy | back to summary |
|---|---|
| public DirectionalLightsAttribute copy() Implements abstract com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| is | back to summary |
|---|---|
| public static final boolean is(final long mask) | |