Class FaceMorphing.CppProxy

    • Method Detail

      • _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
      • setMorphing

        public void setMorphing​(Morphing morph)
        Description copied from interface: FaceMorphing
        Sets morphing asset.
        Specified by:
        setMorphing in interface FaceMorphing
        Parameters:
        morph - (morphing) morphing instance.
      • isVisible

        public boolean isVisible()
        Specified by:
        isVisible in interface FaceMorphing
        Returns:
        visible(bool) visibility flag.
      • setVisible

        public void setVisible​(boolean visible)
        Description copied from interface: FaceMorphing
        Set face_morphing visibility flag. Will be overridden if entity with mesh_instance component is child of entity with face_tracker component. Subclass of component.
        Specified by:
        setVisible in interface FaceMorphing
        Parameters:
        visible - (bool) visibility flag.
      • setWeight

        public void setWeight​(float weight)
        Description copied from interface: FaceMorphing
        set morphing weight. Must be in range [0, 1]
        Specified by:
        setWeight in interface FaceMorphing
        Parameters:
        weight - (float)
      • getWeight

        public float getWeight()
        Specified by:
        getWeight in interface FaceMorphing
        Returns:
        current morph weight (float)
      • create

        @Nullable
        public static FaceMorphing create​(@NonNull
                                          MorphingType type)
        Description copied from interface: FaceMorphing
        Fabric method for face_morphing creating.
        Returns:
        created (face_morphing).