Class Object3d

    • Field Detail

      • _modelPath

        protected java.lang.String _modelPath
        Model path.
      • _hasLightMaterials

        protected boolean _hasLightMaterials
        Light Materials - to deal with possible render Errors
      • _animations

        protected java.util.ArrayList<Animation> _animations
      • materials

        protected java.util.ArrayList<Materialfile> materials
      • _channels

        protected java.util.TreeSet<java.lang.String> _channels
      • _rigDebug

        protected boolean _rigDebug
    • Constructor Detail

      • Object3d

        public Object3d​(java.lang.String modelPath,
                        boolean hasLightMaterials)
        Creates default Polygon.
        Parameters:
        modelPath - resource path of the model
      • Object3d

        public Object3d​(java.lang.Object position,
                        java.lang.Object rotation,
                        java.lang.Object size,
                        int absFlags,
                        java.lang.Object c,
                        java.lang.String modelPath,
                        java.lang.String materialpath,
                        java.lang.String texturePath,
                        boolean hasLightMaterials,
                        boolean rigDebug,
                        IParsedExpression drawcondition,
                        java.lang.String shadowtype,
                        java.util.List<Animation> animations,
                        java.util.List<Materialfile> materials,
                        java.util.ArrayList<SpatialControl> controler)
        Creates a new Polygon drawable.
        Parameters:
        position -
        rotation -
        size -
        absFlags -
        c -
        modelPath -
        texturePath -
        drawcondition -
    • Method Detail

      • setType

        public void setType​(int type)
        Set the primitive type (Disabled).
        Overrides:
        setType in class Primitive3d
        Parameters:
        type - The type to set.
      • getModelPath

        public java.lang.String getModelPath()
        Returns:
        the _modelPath
      • setModelPath

        public void setModelPath​(java.lang.String modelPath)
        Parameters:
        _modelPath - the _modelPath to set
      • isHasLightMaterials

        public boolean isHasLightMaterials()
        Returns:
        the _hasLightMaterials
      • setHasLightMaterials

        public void setHasLightMaterials​(boolean hasLightMaterials)
        Parameters:
        _hasLightMaterials - the _hasLightMaterials to set
      • getAnimations

        public java.util.ArrayList<Animation> getAnimations()
        Returns:
        the _animations
      • setAnimations

        public void setAnimations​(java.util.ArrayList<Animation> _animations)
        Parameters:
        _animations - the _animations to set
      • getChannels

        public java.util.TreeSet<java.lang.String> getChannels()
        Returns:
        the _channels
      • setChannels

        public void setChannels​(java.util.TreeSet<java.lang.String> channels)
        Parameters:
        _channels - the _channels to set
      • isRigDebug

        public boolean isRigDebug()
        Returns:
        the _rigDebug
      • setRigDebug

        public void setRigDebug​(boolean rigDebug)
        Parameters:
        _rigDebug - the _rigDebug to set
      • getMaterials

        public java.util.ArrayList<Materialfile> getMaterials()
      • setMaterials

        public void setMaterials​(java.util.ArrayList<Materialfile> materials)