public class PresetShadowEffectiveData extends EffectEffectiveData implements IPresetShadowEffectiveData
Immutable object which represents a preset shadow effect.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
PresetShadowEffectiveData is equal to the current PresetShadowEffectiveData . |
float |
getDirection()
Direction of shadow.
|
double |
getDistance()
Distance of shadow.
|
int |
getPreset()
Preset.
|
java.lang.Integer |
getShadowColor()
Color of shadow.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final float getDirection()
Direction of shadow.
Read-only float
.
getDirection
in interface IPresetShadowEffectiveData
public final double getDistance()
Distance of shadow.
Read-only double
.
getDistance
in interface IPresetShadowEffectiveData
public final java.lang.Integer getShadowColor()
Color of shadow.
Read-only Integer
.
getShadowColor
in interface IPresetShadowEffectiveData
public final int getPreset()
Preset.
Read-only PresetShadowType
.
getPreset
in interface IPresetShadowEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified PresetShadowEffectiveData
is equal to the current PresetShadowEffectiveData
.
equals
in class java.lang.Object
obj
- The PresetShadowEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object