Interface IGeckoModel


  • public interface IGeckoModel
    Read-only interface for querying the runtime state of a GeckoLib model. Provides access to the model's bone hierarchy after animations have been applied.

    Useful for inspecting bone transforms, attaching effects to specific model parts, or querying positions of bones at runtime.

    See Also:
    IGeckoBone
    • Method Detail

      • getBone

        IGeckoBone getBone​(String name)
        Get a bone by its name as defined in the model file.
        Parameters:
        name - the bone name
        Returns:
        the bone interface, or null if no bone with that name exists
      • getBoneNames

        String[] getBoneNames()
        Get the names of all bones in this model.
        Returns:
        array of all bone names