Class ModelDef
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.ar.sceneform.lullmodel.ModelDef
-
public final class ModelDef extends Table
-
-
Field Summary
-
Fields inherited from class com.google.flatbuffers.Table
UTF8_CHARSET
-
-
Constructor Summary
Constructors Constructor Description ModelDef()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelDef
__assign(int _i, java.nio.ByteBuffer _bb)
void
__init(int _i, java.nio.ByteBuffer _bb)
static void
addBoundingBox(FlatBufferBuilder builder, int boundingBoxOffset)
static void
addLods(FlatBufferBuilder builder, int lodsOffset)
static void
addSkeleton(FlatBufferBuilder builder, int skeletonOffset)
static void
addTextures(FlatBufferBuilder builder, int texturesOffset)
static void
addVersion(FlatBufferBuilder builder, int version)
AabbDef
boundingBox()
The minimum and maximum bounds contained in the vertex data.AabbDef
boundingBox(AabbDef obj)
static int
createLodsVector(FlatBufferBuilder builder, int[] data)
static int
createTexturesVector(FlatBufferBuilder builder, int[] data)
static int
endModelDef(FlatBufferBuilder builder)
static void
finishModelDefBuffer(FlatBufferBuilder builder, int offset)
static void
finishSizePrefixedModelDefBuffer(FlatBufferBuilder builder, int offset)
static ModelDef
getRootAsModelDef(java.nio.ByteBuffer _bb)
static ModelDef
getRootAsModelDef(java.nio.ByteBuffer _bb, ModelDef obj)
ModelInstanceDef
lods(int j)
Model data for different LODs.ModelInstanceDef
lods(ModelInstanceDef obj, int j)
int
lodsLength()
SkeletonDef
skeleton()
The skeletal information used by the RigSystem to support skinned animations.SkeletonDef
skeleton(SkeletonDef obj)
static void
startLodsVector(FlatBufferBuilder builder, int numElems)
static void
startModelDef(FlatBufferBuilder builder)
static void
startTexturesVector(FlatBufferBuilder builder, int numElems)
TextureDef
textures(int j)
A collection of embedded textures associated with this model.TextureDef
textures(TextureDef obj, int j)
int
texturesLength()
int
version()
Version number to help decide how to interpret the flatbuffer data.-
Methods inherited from class com.google.flatbuffers.Table
__reset, getByteBuffer
-
-
-
-
Method Detail
-
getRootAsModelDef
public static ModelDef getRootAsModelDef(java.nio.ByteBuffer _bb)
-
__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.
-
lods
public ModelInstanceDef lods(int j)
Model data for different LODs.
-
lods
public ModelInstanceDef lods(ModelInstanceDef obj, int j)
-
lodsLength
public int lodsLength()
-
skeleton
public SkeletonDef skeleton()
The skeletal information used by the RigSystem to support skinned animations.
-
skeleton
public SkeletonDef skeleton(SkeletonDef obj)
-
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.
-
textures
public TextureDef textures(TextureDef obj, int j)
-
texturesLength
public int texturesLength()
-
startModelDef
public static void startModelDef(FlatBufferBuilder builder)
-
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)
-
endModelDef
public static int endModelDef(FlatBufferBuilder builder)
-
finishModelDefBuffer
public static void finishModelDefBuffer(FlatBufferBuilder builder, int offset)
-
finishSizePrefixedModelDefBuffer
public static void finishSizePrefixedModelDefBuffer(FlatBufferBuilder builder, int offset)
-
-