Class CubeEffect

java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.CubeEffect
All Implemented Interfaces:
Runnable

public class CubeEffect extends Effect
  • Field Details

    • edgeLength

      public float edgeLength
      Length of the edges
    • angularVelocityX

      public double angularVelocityX
      Turns the cube by this angle each iteration around the x-axis
    • angularVelocityY

      public double angularVelocityY
      Turns the cube by this angle each iteration around the y-axis
    • angularVelocityZ

      public double angularVelocityZ
      Turns the cube by this angle each iteration around the z-axis
    • particles

      public int particles
      Particles in each row
    • enableRotation

      public boolean enableRotation
      True if rotation is enable
    • outlineOnly

      public boolean outlineOnly
      Only the outlines are drawn
    • orient

      public boolean orient
      Should it orient pitch and yaw?
    • step

      protected int step
      Current step. Works as counter
  • Constructor Details

  • Method Details

    • reset

      public void reset()
      Description copied from class: Effect
      Effects should override this if they want to be reusable, this is called prior to starting so state can be reset.
      Overrides:
      reset in class Effect
    • onRun

      public void onRun()
      Specified by:
      onRun in class Effect