Class ModelDef


  • public final class ModelDef
    extends Table
    • Constructor Detail

      • ModelDef

        public ModelDef()
    • Method Detail

      • getRootAsModelDef

        public static ModelDef getRootAsModelDef​(java.nio.ByteBuffer _bb)
      • getRootAsModelDef

        public static ModelDef getRootAsModelDef​(java.nio.ByteBuffer _bb,
                                                 ModelDef obj)
      • __init

        public void __init​(int _i,
                           java.nio.ByteBuffer _bb)
      • __assign

        public ModelDef __assign​(int _i,
                                 java.nio.ByteBuffer _bb)
      • version

        public int version()
        Version number to help decide how to interpret the flatbuffer data.
      • lodsLength

        public int lodsLength()
      • skeleton

        public SkeletonDef skeleton()
        The skeletal information used by the RigSystem to support skinned animations.
      • boundingBox

        public AabbDef boundingBox()
        The minimum and maximum bounds contained in the vertex data.
      • textures

        public TextureDef textures​(int j)
        A collection of embedded textures associated with this model.
      • texturesLength

        public int texturesLength()
      • addVersion

        public static void addVersion​(FlatBufferBuilder builder,
                                      int version)
      • addLods

        public static void addLods​(FlatBufferBuilder builder,
                                   int lodsOffset)
      • createLodsVector

        public static int createLodsVector​(FlatBufferBuilder builder,
                                           int[] data)
      • startLodsVector

        public static void startLodsVector​(FlatBufferBuilder builder,
                                           int numElems)
      • addSkeleton

        public static void addSkeleton​(FlatBufferBuilder builder,
                                       int skeletonOffset)
      • addBoundingBox

        public static void addBoundingBox​(FlatBufferBuilder builder,
                                          int boundingBoxOffset)
      • addTextures

        public static void addTextures​(FlatBufferBuilder builder,
                                       int texturesOffset)
      • createTexturesVector

        public static int createTexturesVector​(FlatBufferBuilder builder,
                                               int[] data)
      • startTexturesVector

        public static void startTexturesVector​(FlatBufferBuilder builder,
                                               int numElems)
      • finishModelDefBuffer

        public static void finishModelDefBuffer​(FlatBufferBuilder builder,
                                                int offset)
      • finishSizePrefixedModelDefBuffer

        public static void finishSizePrefixedModelDefBuffer​(FlatBufferBuilder builder,
                                                            int offset)