public class TintEffectiveData extends EffectEffectiveData implements ITintEffectiveData
Immutable object which represents a Tint effect. Shifts effect color values towards/away from hue by the specified amount.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
TintEffectiveData is equal to the current TintEffectiveData . |
float |
getAmount()
Returns effect amount.
|
float |
getHue()
Returns hue.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getHue()
Returns hue.
Read-only float
.
getHue
in interface ITintEffectiveData
public final float getAmount()
Returns effect amount.
Read-only float
.
getAmount
in interface ITintEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified TintEffectiveData
is equal to the current TintEffectiveData
.
equals
in class java.lang.Object
obj
- The TintEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object