Interface Layer

  • All Known Implementing Classes:
    Layer.CppProxy

    public interface Layer
    A container for entities, which is needed for explicit grouping entities in order in which they will be sent to render. All morph entities must lay on the same layer.
    • Method Detail

      • setName

        void setName​(@NonNull
                     java.lang.String name)
        set layer name
        Parameters:
        layer - name (string)
      • getName

        @NonNull
        java.lang.String getName()
        Returns:
        layer name (string)
      • setActive

        void setActive​(boolean active)
        Set enable/disable layer flag. The disabled layer will not be rendered.
        Parameters:
        active - (bool) activity flag.
      • isActive

        boolean isActive()
        Returns:
        activity flag (bool)
      • enableMorphing

        void enableMorphing​(boolean enable)
        ability for enable/disable morphing in specified layer
        Parameters:
        enable - (bool)
      • isMorphingEnabled

        boolean isMorphingEnabled()
        Returns:
        is morphing enable in the current layer
      • create

        @Nullable
        static Layer create​(@NonNull
                            java.lang.String name)
        Fabric method for layer creating.
        Returns:
        created layer (layer).