Package dev.gothickit.zenkit.world.vob
Class LightPreset
java.lang.Object
dev.gothickit.zenkit.world.vob.LightPreset
- All Implemented Interfaces:
NativeObject
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetColor()floatColor @NotNull []booleanfloat@NotNull com.sun.jna.PointerbooleangetOn()floatgetRange()floatfloat[]voidgetRangeAnimationScale(float[] val) booleanbooleanstatic @NotNull LightPresetload(@NotNull Read buf, @NotNull GameVersion version) static @NotNull LightPresetload(@NotNull Vfs vfs, @NotNull String name, @NotNull GameVersion version) static @NotNull LightPresetload(@NotNull String path, @NotNull GameVersion version) voidsetCanMove(boolean val) voidvoidsetColorAnimationFps(float val) voidsetColorAnimationSmooth(boolean val) voidsetConeAngle(float val) voidsetLensflareFx(String val) voidsetLightType(LightType val) voidsetOn(boolean val) voidvoidsetQuality(LightQuality val) voidsetRange(float val) voidsetRangeAnimationFps(float val) voidsetRangeAnimationSmooth(boolean val) voidssLightStatic(boolean val)
-
Method Details
-
load
@Contract("_, _ -> new") @NotNull public static @NotNull LightPreset load(@NotNull @NotNull String path, @NotNull @NotNull GameVersion version) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _ -> new") @NotNull public static @NotNull LightPreset load(@NotNull @NotNull Read buf, @NotNull @NotNull GameVersion version) throws ResourceIOException - Throws:
ResourceIOException
-
load
@Contract("_, _, _ -> new") @NotNull public static @NotNull LightPreset load(@NotNull @NotNull Vfs vfs, @NotNull @NotNull String name, @NotNull @NotNull GameVersion version) throws ResourceIOException - Throws:
ResourceIOException
-
getNativeHandle
@NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()- Specified by:
getNativeHandlein interfaceNativeObject
-
getPreset
-
setPreset
-
getLightType
-
setLightType
-
getRange
public float getRange() -
setRange
public void setRange(float val) -
getColor
-
setColor
-
getConeAngle
public float getConeAngle() -
setConeAngle
public void setConeAngle(float val) -
isLightStatic
public boolean isLightStatic() -
getQuality
-
setQuality
-
getLensflareFx
-
setLensflareFx
-
getOn
public boolean getOn() -
setOn
public void setOn(boolean val) -
getRangeAnimationScale
public float[] getRangeAnimationScale() -
getRangeAnimationFps
public float getRangeAnimationFps() -
setRangeAnimationFps
public void setRangeAnimationFps(float val) -
getRangeAnimationSmooth
public boolean getRangeAnimationSmooth() -
setRangeAnimationSmooth
public void setRangeAnimationSmooth(boolean val) -
getColorAnimationList
-
getColorAnimationFps
public float getColorAnimationFps() -
setColorAnimationFps
public void setColorAnimationFps(float val) -
getColorAnimationSmooth
public boolean getColorAnimationSmooth() -
setColorAnimationSmooth
public void setColorAnimationSmooth(boolean val) -
getCanMove
public boolean getCanMove() -
setCanMove
public void setCanMove(boolean val) -
ssLightStatic
public void ssLightStatic(boolean val) -
getRangeAnimationScale
public void getRangeAnimationScale(float[] val)
-