Interface RuneLiteObject

    • Method Detail

      • setModel

        void setModel​(Model model)
        Sets the model of the RuneLiteObject
      • setAnimation

        void setAnimation​(Sequence animation)
        Sets the animation of the RuneLiteObject If animation is null model will be static
      • setShouldLoop

        void setShouldLoop​(boolean shouldLoop)
        Sets whether the animation of the RuneLiteObject should loop when the animation ends. If this is false the object will despawn when the animation ends. Does nothing if the animation is null.
      • setLocation

        void setLocation​(LocalPoint point,
                         int plane)
        Sets the location in the scene for the RuneLiteObject
      • setActive

        void setActive​(boolean active)
        Sets the state of the RuneLiteObject Set to true to spawn the object Set to false to despawn the object
      • isActive

        boolean isActive()
        Gets the state of the RuneLiteObject
        Returns:
        true if the RuneLiteObject is added to the scene