Class FogEvents.FogData
java.lang.Object
io.github.vampirestudios.vampirelib.api.callbacks.FogEvents.FogData
- Enclosing class:
- FogEvents
-
Constructor Summary
ConstructorsConstructorDescriptionFogData(float nearPlaneDistance, float farPlaneDistance, com.mojang.blaze3d.shaders.FogShape fogShape) -
Method Summary
Modifier and TypeMethodDescriptionfloatcom.mojang.blaze3d.shaders.FogShapefloatvoidscaleFarPlaneDistance(float factor) voidscaleNearPlaneDistance(float factor) voidsetFarPlaneDistance(float distance) voidsetFogShape(com.mojang.blaze3d.shaders.FogShape shape) voidsetNearPlaneDistance(float distance)
-
Constructor Details
-
FogData
public FogData(float nearPlaneDistance, float farPlaneDistance, com.mojang.blaze3d.shaders.FogShape fogShape)
-
-
Method Details
-
getFarPlaneDistance
public float getFarPlaneDistance() -
getNearPlaneDistance
public float getNearPlaneDistance() -
getFogShape
public com.mojang.blaze3d.shaders.FogShape getFogShape() -
setFarPlaneDistance
public void setFarPlaneDistance(float distance) -
setNearPlaneDistance
public void setNearPlaneDistance(float distance) -
setFogShape
public void setFogShape(com.mojang.blaze3d.shaders.FogShape shape) -
scaleFarPlaneDistance
public void scaleFarPlaneDistance(float factor) -
scaleNearPlaneDistance
public void scaleNearPlaneDistance(float factor)
-