Class ParticleEffect.NoteColor

    • Constructor Summary

      Constructors 
      Constructor Description
      NoteColor​(int note)
      Construct a new note color
    • Method Summary

      Modifier and Type Method Description
      float getValueX()
      Returns the note value divided by 24
      float getValueY()
      Returns zero because the offsetY value is unused
      float getValueZ()
      Returns zero because the offsetZ value is unused
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoteColor

        public NoteColor​(int note)
                  throws java.lang.IllegalArgumentException
        Construct a new note color
        Parameters:
        note - Note id which determines color
        Throws:
        java.lang.IllegalArgumentException - If the note value is lower than 0 or higher than 24