Class BlendShape
- java.lang.Object
 - 
- com.google.flatbuffers.Table
 - 
- com.google.ar.sceneform.lullmodel.BlendShape
 
 
 
- 
public final class BlendShape extends Table
 
- 
- 
Field Summary
- 
Fields inherited from class com.google.flatbuffers.Table
UTF8_CHARSET 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BlendShape() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BlendShape__assign(int _i, java.nio.ByteBuffer _bb)void__init(int _i, java.nio.ByteBuffer _bb)static voidaddName(FlatBufferBuilder builder, long name)static voidaddTangentData(FlatBufferBuilder builder, int tangentDataOffset)static voidaddTangentIndices16(FlatBufferBuilder builder, int tangentIndices16Offset)static voidaddTangentIndices32(FlatBufferBuilder builder, int tangentIndices32Offset)static voidaddVertexData(FlatBufferBuilder builder, int vertexDataOffset)static voidaddVertexIndices16(FlatBufferBuilder builder, int vertexIndices16Offset)static voidaddVertexIndices32(FlatBufferBuilder builder, int vertexIndices32Offset)static intcreateBlendShape(FlatBufferBuilder builder, long name, int vertex_dataOffset, int vertex_indices32Offset, int vertex_indices16Offset, int tangent_dataOffset, int tangent_indices32Offset, int tangent_indices16Offset)static intcreateTangentDataVector(FlatBufferBuilder builder, byte[] data)static intcreateTangentDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)static intcreateTangentIndices16Vector(FlatBufferBuilder builder, short[] data)static intcreateTangentIndices32Vector(FlatBufferBuilder builder, int[] data)static intcreateVertexDataVector(FlatBufferBuilder builder, byte[] data)static intcreateVertexDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)static intcreateVertexIndices16Vector(FlatBufferBuilder builder, short[] data)static intcreateVertexIndices32Vector(FlatBufferBuilder builder, int[] data)static intendBlendShape(FlatBufferBuilder builder)static BlendShapegetRootAsBlendShape(java.nio.ByteBuffer _bb)static BlendShapegetRootAsBlendShape(java.nio.ByteBuffer _bb, BlendShape obj)longname()The name of this blend shape.static voidstartBlendShape(FlatBufferBuilder builder)static voidstartTangentDataVector(FlatBufferBuilder builder, int numElems)static voidstartTangentIndices16Vector(FlatBufferBuilder builder, int numElems)static voidstartTangentIndices32Vector(FlatBufferBuilder builder, int numElems)static voidstartVertexDataVector(FlatBufferBuilder builder, int numElems)static voidstartVertexIndices16Vector(FlatBufferBuilder builder, int numElems)static voidstartVertexIndices32Vector(FlatBufferBuilder builder, int numElems)inttangentData(int j)Contains Tangent data that is necessary to restore original values of blend shape vertices that differ from correspondent mesh vertices in Tangent attribute only OR indentical ones.java.nio.ByteBuffertangentDataAsByteBuffer()java.nio.ByteBuffertangentDataInByteBuffer(java.nio.ByteBuffer _bb)inttangentDataLength()inttangentIndices16(int j)java.nio.ByteBuffertangentIndices16AsByteBuffer()java.nio.ByteBuffertangentIndices16InByteBuffer(java.nio.ByteBuffer _bb)inttangentIndices16Length()longtangentIndices32(int j)Indices of vertices that differ in Tangent OR indentical ones.java.nio.ByteBuffertangentIndices32AsByteBuffer()java.nio.ByteBuffertangentIndices32InByteBuffer(java.nio.ByteBuffer _bb)inttangentIndices32Length()intvertexData(int j)Contents vertex data of mesh vertices but with positions and normals adjusted to match this blend shape.java.nio.ByteBuffervertexDataAsByteBuffer()java.nio.ByteBuffervertexDataInByteBuffer(java.nio.ByteBuffer _bb)intvertexDataLength()intvertexIndices16(int j)java.nio.ByteBuffervertexIndices16AsByteBuffer()java.nio.ByteBuffervertexIndices16InByteBuffer(java.nio.ByteBuffer _bb)intvertexIndices16Length()longvertexIndices32(int j)Indices of fully stored vertices.java.nio.ByteBuffervertexIndices32AsByteBuffer()java.nio.ByteBuffervertexIndices32InByteBuffer(java.nio.ByteBuffer _bb)intvertexIndices32Length()- 
Methods inherited from class com.google.flatbuffers.Table
__reset, getByteBuffer 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getRootAsBlendShape
public static BlendShape getRootAsBlendShape(java.nio.ByteBuffer _bb)
 
- 
getRootAsBlendShape
public static BlendShape getRootAsBlendShape(java.nio.ByteBuffer _bb, BlendShape obj)
 
- 
__init
public void __init(int _i, java.nio.ByteBuffer _bb) 
- 
__assign
public BlendShape __assign(int _i, java.nio.ByteBuffer _bb)
 
- 
name
public long name()
The name of this blend shape. 
- 
vertexData
public int vertexData(int j)
Contents vertex data of mesh vertices but with positions and normals adjusted to match this blend shape. Store only those vertices that differ from mesh vertices in attributes beyond Tangent. 
- 
vertexDataLength
public int vertexDataLength()
 
- 
vertexDataAsByteBuffer
public java.nio.ByteBuffer vertexDataAsByteBuffer()
 
- 
vertexDataInByteBuffer
public java.nio.ByteBuffer vertexDataInByteBuffer(java.nio.ByteBuffer _bb)
 
- 
vertexIndices32
public long vertexIndices32(int j)
Indices of fully stored vertices. Will either be an array of 16-bit or 32-bit values. 
- 
vertexIndices32Length
public int vertexIndices32Length()
 
- 
vertexIndices32AsByteBuffer
public java.nio.ByteBuffer vertexIndices32AsByteBuffer()
 
- 
vertexIndices32InByteBuffer
public java.nio.ByteBuffer vertexIndices32InByteBuffer(java.nio.ByteBuffer _bb)
 
- 
vertexIndices16
public int vertexIndices16(int j)
 
- 
vertexIndices16Length
public int vertexIndices16Length()
 
- 
vertexIndices16AsByteBuffer
public java.nio.ByteBuffer vertexIndices16AsByteBuffer()
 
- 
vertexIndices16InByteBuffer
public java.nio.ByteBuffer vertexIndices16InByteBuffer(java.nio.ByteBuffer _bb)
 
- 
tangentData
public int tangentData(int j)
Contains Tangent data that is necessary to restore original values of blend shape vertices that differ from correspondent mesh vertices in Tangent attribute only OR indentical ones. 
- 
tangentDataLength
public int tangentDataLength()
 
- 
tangentDataAsByteBuffer
public java.nio.ByteBuffer tangentDataAsByteBuffer()
 
- 
tangentDataInByteBuffer
public java.nio.ByteBuffer tangentDataInByteBuffer(java.nio.ByteBuffer _bb)
 
- 
tangentIndices32
public long tangentIndices32(int j)
Indices of vertices that differ in Tangent OR indentical ones. Will either be an array of 16-bit or 32-bit values. 
- 
tangentIndices32Length
public int tangentIndices32Length()
 
- 
tangentIndices32AsByteBuffer
public java.nio.ByteBuffer tangentIndices32AsByteBuffer()
 
- 
tangentIndices32InByteBuffer
public java.nio.ByteBuffer tangentIndices32InByteBuffer(java.nio.ByteBuffer _bb)
 
- 
tangentIndices16
public int tangentIndices16(int j)
 
- 
tangentIndices16Length
public int tangentIndices16Length()
 
- 
tangentIndices16AsByteBuffer
public java.nio.ByteBuffer tangentIndices16AsByteBuffer()
 
- 
tangentIndices16InByteBuffer
public java.nio.ByteBuffer tangentIndices16InByteBuffer(java.nio.ByteBuffer _bb)
 
- 
createBlendShape
public static int createBlendShape(FlatBufferBuilder builder, long name, int vertex_dataOffset, int vertex_indices32Offset, int vertex_indices16Offset, int tangent_dataOffset, int tangent_indices32Offset, int tangent_indices16Offset)
 
- 
startBlendShape
public static void startBlendShape(FlatBufferBuilder builder)
 
- 
addName
public static void addName(FlatBufferBuilder builder, long name)
 
- 
addVertexData
public static void addVertexData(FlatBufferBuilder builder, int vertexDataOffset)
 
- 
createVertexDataVector
public static int createVertexDataVector(FlatBufferBuilder builder, byte[] data)
 
- 
createVertexDataVector
public static int createVertexDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
 
- 
startVertexDataVector
public static void startVertexDataVector(FlatBufferBuilder builder, int numElems)
 
- 
addVertexIndices32
public static void addVertexIndices32(FlatBufferBuilder builder, int vertexIndices32Offset)
 
- 
createVertexIndices32Vector
public static int createVertexIndices32Vector(FlatBufferBuilder builder, int[] data)
 
- 
startVertexIndices32Vector
public static void startVertexIndices32Vector(FlatBufferBuilder builder, int numElems)
 
- 
addVertexIndices16
public static void addVertexIndices16(FlatBufferBuilder builder, int vertexIndices16Offset)
 
- 
createVertexIndices16Vector
public static int createVertexIndices16Vector(FlatBufferBuilder builder, short[] data)
 
- 
startVertexIndices16Vector
public static void startVertexIndices16Vector(FlatBufferBuilder builder, int numElems)
 
- 
addTangentData
public static void addTangentData(FlatBufferBuilder builder, int tangentDataOffset)
 
- 
createTangentDataVector
public static int createTangentDataVector(FlatBufferBuilder builder, byte[] data)
 
- 
createTangentDataVector
public static int createTangentDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
 
- 
startTangentDataVector
public static void startTangentDataVector(FlatBufferBuilder builder, int numElems)
 
- 
addTangentIndices32
public static void addTangentIndices32(FlatBufferBuilder builder, int tangentIndices32Offset)
 
- 
createTangentIndices32Vector
public static int createTangentIndices32Vector(FlatBufferBuilder builder, int[] data)
 
- 
startTangentIndices32Vector
public static void startTangentIndices32Vector(FlatBufferBuilder builder, int numElems)
 
- 
addTangentIndices16
public static void addTangentIndices16(FlatBufferBuilder builder, int tangentIndices16Offset)
 
- 
createTangentIndices16Vector
public static int createTangentIndices16Vector(FlatBufferBuilder builder, short[] data)
 
- 
startTangentIndices16Vector
public static void startTangentIndices16Vector(FlatBufferBuilder builder, int numElems)
 
- 
endBlendShape
public static int endBlendShape(FlatBufferBuilder builder)
 
 - 
 
 -