Class Layer.CppProxy

java.lang.Object
com.banuba.sdk.scene.Layer.CppProxy
All Implemented Interfaces:
Layer
Enclosing interface:
Layer

public static final class Layer.CppProxy extends Object implements Layer
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • setName

      public void setName(String name)
      Description copied from interface: Layer
      set layer name
      Specified by:
      setName in interface Layer
    • getName

      public String getName()
      Specified by:
      getName in interface Layer
      Returns:
      layer name (string)
    • setActive

      public void setActive(boolean active)
      Description copied from interface: Layer
      Set enable/disable layer flag. The disabled layer will not be rendered.
      Specified by:
      setActive in interface Layer
      Parameters:
      active - (bool) activity flag.
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface Layer
      Returns:
      activity flag (bool)
    • enableMorphing

      public void enableMorphing(boolean enable)
      Description copied from interface: Layer
      ability for enable/disable morphing in specified layer
      Specified by:
      enableMorphing in interface Layer
      Parameters:
      enable - (bool)
    • isMorphingEnabled

      public boolean isMorphingEnabled()
      Specified by:
      isMorphingEnabled in interface Layer
      Returns:
      is morphing enable in the current layer
    • create

      @Nullable public static Layer create(@NonNull String name)
      Description copied from interface: Layer
      Fabric method for layer creating.
      Returns:
      created layer (layer).