Class LightPreset

java.lang.Object
dev.gothickit.zenkit.world.vob.LightPreset
All Implemented Interfaces:
NativeObject

public final class LightPreset extends Object implements NativeObject
  • 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:
      getNativeHandle in interface NativeObject
    • getPreset

      public String getPreset()
    • setPreset

      public void setPreset(String val)
    • getLightType

      public LightType getLightType()
    • setLightType

      public void setLightType(LightType val)
    • getRange

      public float getRange()
    • setRange

      public void setRange(float val)
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color val)
    • getConeAngle

      public float getConeAngle()
    • setConeAngle

      public void setConeAngle(float val)
    • isLightStatic

      public boolean isLightStatic()
    • getQuality

      public LightQuality getQuality()
    • setQuality

      public void setQuality(LightQuality val)
    • getLensflareFx

      public String getLensflareFx()
    • setLensflareFx

      public void setLensflareFx(String val)
    • 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

      public Color @NotNull [] 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)