public class FadeContainer
Class FadeContainer. Provides fadecontainer functionality for the Hytale server.
java.lang.Object > FadeContainer
Field Summary
No fields documented.
Method Detail
FadeContainer
public
public
FadeContainer
(final double maskFadeStart, final double maskFadeLength, final double terrainFadeStart, final double terrainFadeLength, final double fadeHeightmap)
Method FadeContainer.
- Parameters:
final doublemaskFadeStartfinal doublemaskFadeLengthfinal doubleterrainFadeStartfinal doubleterrainFadeLengthfinal doublefadeHeightmap
getMaskFadeStart
public
double
getMaskFadeStart
()
Method getMaskFadeStart.
getMaskFadeLength
public
double
getMaskFadeLength
()
Method getMaskFadeLength.
getMaskFadeSum
public
double
getMaskFadeSum
()
Method getMaskFadeSum.
getHeightFadeStart
public
double
getHeightFadeStart
()
Method getHeightFadeStart.
getHeightFadeLength
public
double
getHeightFadeLength
()
Method getHeightFadeLength.
getHeightFadeSum
public
double
getHeightFadeSum
()
Method getHeightFadeSum.
getFadeHeightmap
public
double
getFadeHeightmap
()
Method getFadeHeightmap.
getFactor
public
double
getFactor
(@Nonnull final ZoneGeneratorResult result, final double distanceFromBorder, final double gradientWidth)
Method getFactor.
- Parameters:
@Nonnull final ZoneGeneratorResultresultfinal doubledistanceFromBorderfinal doublegradientWidth
shouldFade
public
boolean
shouldFade
()
Method shouldFade.
toString
public
String
toString
()
Method toString.
limit
static
double
limit
(final double d)
Method limit.
- Parameters:
final doubled