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 void
addName(FlatBufferBuilder builder, long name)
static void
addTangentData(FlatBufferBuilder builder, int tangentDataOffset)
static void
addTangentIndices16(FlatBufferBuilder builder, int tangentIndices16Offset)
static void
addTangentIndices32(FlatBufferBuilder builder, int tangentIndices32Offset)
static void
addVertexData(FlatBufferBuilder builder, int vertexDataOffset)
static void
addVertexIndices16(FlatBufferBuilder builder, int vertexIndices16Offset)
static void
addVertexIndices32(FlatBufferBuilder builder, int vertexIndices32Offset)
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)
static int
createTangentDataVector(FlatBufferBuilder builder, byte[] data)
static int
createTangentDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
static int
createTangentIndices16Vector(FlatBufferBuilder builder, short[] data)
static int
createTangentIndices32Vector(FlatBufferBuilder builder, int[] data)
static int
createVertexDataVector(FlatBufferBuilder builder, byte[] data)
static int
createVertexDataVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
static int
createVertexIndices16Vector(FlatBufferBuilder builder, short[] data)
static int
createVertexIndices32Vector(FlatBufferBuilder builder, int[] data)
static int
endBlendShape(FlatBufferBuilder builder)
static BlendShape
getRootAsBlendShape(java.nio.ByteBuffer _bb)
static BlendShape
getRootAsBlendShape(java.nio.ByteBuffer _bb, BlendShape obj)
long
name()
The name of this blend shape.static void
startBlendShape(FlatBufferBuilder builder)
static void
startTangentDataVector(FlatBufferBuilder builder, int numElems)
static void
startTangentIndices16Vector(FlatBufferBuilder builder, int numElems)
static void
startTangentIndices32Vector(FlatBufferBuilder builder, int numElems)
static void
startVertexDataVector(FlatBufferBuilder builder, int numElems)
static void
startVertexIndices16Vector(FlatBufferBuilder builder, int numElems)
static void
startVertexIndices32Vector(FlatBufferBuilder builder, int numElems)
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.java.nio.ByteBuffer
tangentDataAsByteBuffer()
java.nio.ByteBuffer
tangentDataInByteBuffer(java.nio.ByteBuffer _bb)
int
tangentDataLength()
int
tangentIndices16(int j)
java.nio.ByteBuffer
tangentIndices16AsByteBuffer()
java.nio.ByteBuffer
tangentIndices16InByteBuffer(java.nio.ByteBuffer _bb)
int
tangentIndices16Length()
long
tangentIndices32(int j)
Indices of vertices that differ in Tangent OR indentical ones.java.nio.ByteBuffer
tangentIndices32AsByteBuffer()
java.nio.ByteBuffer
tangentIndices32InByteBuffer(java.nio.ByteBuffer _bb)
int
tangentIndices32Length()
int
vertexData(int j)
Contents vertex data of mesh vertices but with positions and normals adjusted to match this blend shape.java.nio.ByteBuffer
vertexDataAsByteBuffer()
java.nio.ByteBuffer
vertexDataInByteBuffer(java.nio.ByteBuffer _bb)
int
vertexDataLength()
int
vertexIndices16(int j)
java.nio.ByteBuffer
vertexIndices16AsByteBuffer()
java.nio.ByteBuffer
vertexIndices16InByteBuffer(java.nio.ByteBuffer _bb)
int
vertexIndices16Length()
long
vertexIndices32(int j)
Indices of fully stored vertices.java.nio.ByteBuffer
vertexIndices32AsByteBuffer()
java.nio.ByteBuffer
vertexIndices32InByteBuffer(java.nio.ByteBuffer _bb)
int
vertexIndices32Length()
-
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)
-
-