Class Entity.CppProxy

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

public static final class Entity.CppProxy
extends java.lang.Object
implements Entity
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

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

      public void setName​(java.lang.String name)
      Description copied from interface: Entity
      Set a new name to the entity. Name could be empty.
      Specified by:
      setName in interface Entity
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface Entity
    • addChild

      public void addChild​(Entity child)
      Specified by:
      addChild in interface Entity
    • removeChild

      public void removeChild​(Entity child)
      Specified by:
      removeChild in interface Entity
    • getChildren

      public java.util.ArrayList<Entity> getChildren()
      Specified by:
      getChildren in interface Entity
    • clearChildren

      public void clearChildren()
      Specified by:
      clearChildren in interface Entity
    • findChildByName

      public Entity findChildByName​(java.lang.String entityName)
      Description copied from interface: Entity
      Perform depth-first traverse of entity tree. Return first found child with name `entityName` or NULL if such an entity doesn't exist.
      Specified by:
      findChildByName in interface Entity
    • getParent

      public Entity getParent()
      Specified by:
      getParent in interface Entity
    • setActive

      public void setActive​(boolean active)
      Specified by:
      setActive in interface Entity
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface Entity
    • addIntoLayer

      public void addIntoLayer​(Layer layer)
      Specified by:
      addIntoLayer in interface Entity
    • removeFromLayer

      public void removeFromLayer()
      Specified by:
      removeFromLayer in interface Entity
    • getLayer

      public Layer getLayer()
      Specified by:
      getLayer in interface Entity
    • addComponent

      public void addComponent​(Component component)
      Specified by:
      addComponent in interface Entity
    • hasComponent

      public boolean hasComponent​(ComponentType type)
      Specified by:
      hasComponent in interface Entity
    • getComponent

      public Component getComponent​(ComponentType type)
      Specified by:
      getComponent in interface Entity
    • removeComponent

      public void removeComponent​(Component component)
      Specified by:
      removeComponent in interface Entity
    • create

      @Nullable public static Entity create​(@NonNull java.lang.String name)