Class RigidShape.ShapeData

    • Field Detail

      • meshes

        protected java.util.List<Geometry> meshes
        Holds the computed tessellation of the shape in model coordinates.
      • vboCacheKeys

        protected java.util.Map<java.lang.Integer,​java.lang.Object> vboCacheKeys
        The GPU-resource cache keys to use for this entry's VBOs (one for eack LOD), if VBOs are used.
      • refillIndexBuffer

        protected boolean refillIndexBuffer
        Indicates whether the index buffer needs to be filled because a new buffer is used or some other reason.
      • refillIndexVBO

        protected boolean refillIndexVBO
        Indicates whether the index buffer's VBO needs to be filled because a new buffer is used or other reason.
    • Method Detail

      • getMesh

        public Geometry getMesh​(int index)
      • getMeshes

        public java.util.List<Geometry> getMeshes()
      • setMesh

        public void setMesh​(Geometry mesh)
      • setMeshes

        public void setMeshes​(java.util.List<Geometry> meshes)
      • addMesh

        public void addMesh​(Geometry mesh)
      • addMesh

        public void addMesh​(int index,
                            Geometry mesh)
      • getVboCacheKey

        public java.lang.Object getVboCacheKey​(int index)
      • setVboCacheKey

        public void setVboCacheKey​(int index,
                                   java.lang.Object vboCacheKey)
      • getVboCacheSize

        public int getVboCacheSize()