Class SkeletonDef
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.ar.sceneform.lullmodel.SkeletonDef
-
public final class SkeletonDef extends Table
-
-
Field Summary
-
Fields inherited from class com.google.flatbuffers.Table
UTF8_CHARSET
-
-
Constructor Summary
Constructors Constructor Description SkeletonDef()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SkeletonDef
__assign(int _i, java.nio.ByteBuffer _bb)
void
__init(int _i, java.nio.ByteBuffer _bb)
static void
addBoneNames(FlatBufferBuilder builder, int boneNamesOffset)
static void
addBoneParents(FlatBufferBuilder builder, int boneParentsOffset)
static void
addBoneTransforms(FlatBufferBuilder builder, int boneTransformsOffset)
java.lang.String
boneNames(int j)
The names of each bone in the skeleton.int
boneNamesLength()
int
boneParents(int j)
Effectively a map of a bone to its parent bone.java.nio.ByteBuffer
boneParentsAsByteBuffer()
java.nio.ByteBuffer
boneParentsInByteBuffer(java.nio.ByteBuffer _bb)
int
boneParentsLength()
Mat4x3
boneTransforms(int j)
For information on how the matrices below are used for skinning, see RigSystem::UpdateShaderTransforms().Mat4x3
boneTransforms(Mat4x3 obj, int j)
int
boneTransformsLength()
static int
createBoneNamesVector(FlatBufferBuilder builder, int[] data)
static int
createBoneParentsVector(FlatBufferBuilder builder, byte[] data)
static int
createBoneParentsVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
static int
createSkeletonDef(FlatBufferBuilder builder, int bone_namesOffset, int bone_parentsOffset, int bone_transformsOffset)
static int
endSkeletonDef(FlatBufferBuilder builder)
static SkeletonDef
getRootAsSkeletonDef(java.nio.ByteBuffer _bb)
static SkeletonDef
getRootAsSkeletonDef(java.nio.ByteBuffer _bb, SkeletonDef obj)
static void
startBoneNamesVector(FlatBufferBuilder builder, int numElems)
static void
startBoneParentsVector(FlatBufferBuilder builder, int numElems)
static void
startBoneTransformsVector(FlatBufferBuilder builder, int numElems)
static void
startSkeletonDef(FlatBufferBuilder builder)
-
Methods inherited from class com.google.flatbuffers.Table
__reset, getByteBuffer
-
-
-
-
Method Detail
-
getRootAsSkeletonDef
public static SkeletonDef getRootAsSkeletonDef(java.nio.ByteBuffer _bb)
-
getRootAsSkeletonDef
public static SkeletonDef getRootAsSkeletonDef(java.nio.ByteBuffer _bb, SkeletonDef obj)
-
__init
public void __init(int _i, java.nio.ByteBuffer _bb)
-
__assign
public SkeletonDef __assign(int _i, java.nio.ByteBuffer _bb)
-
boneNames
public java.lang.String boneNames(int j)
The names of each bone in the skeleton. Each bone in the skeleton can be uniquely identified by an index into this array.
-
boneNamesLength
public int boneNamesLength()
-
boneParents
public int boneParents(int j)
Effectively a map of a bone to its parent bone.
-
boneParentsLength
public int boneParentsLength()
-
boneParentsAsByteBuffer
public java.nio.ByteBuffer boneParentsAsByteBuffer()
-
boneParentsInByteBuffer
public java.nio.ByteBuffer boneParentsInByteBuffer(java.nio.ByteBuffer _bb)
-
boneTransforms
public Mat4x3 boneTransforms(int j)
For information on how the matrices below are used for skinning, see RigSystem::UpdateShaderTransforms(). The "inverse bind matrices" for each bone. Transforms from mesh space to bone space so that skinning may be applied.
-
boneTransformsLength
public int boneTransformsLength()
-
createSkeletonDef
public static int createSkeletonDef(FlatBufferBuilder builder, int bone_namesOffset, int bone_parentsOffset, int bone_transformsOffset)
-
startSkeletonDef
public static void startSkeletonDef(FlatBufferBuilder builder)
-
addBoneNames
public static void addBoneNames(FlatBufferBuilder builder, int boneNamesOffset)
-
createBoneNamesVector
public static int createBoneNamesVector(FlatBufferBuilder builder, int[] data)
-
startBoneNamesVector
public static void startBoneNamesVector(FlatBufferBuilder builder, int numElems)
-
addBoneParents
public static void addBoneParents(FlatBufferBuilder builder, int boneParentsOffset)
-
createBoneParentsVector
public static int createBoneParentsVector(FlatBufferBuilder builder, byte[] data)
-
createBoneParentsVector
public static int createBoneParentsVector(FlatBufferBuilder builder, java.nio.ByteBuffer data)
-
startBoneParentsVector
public static void startBoneParentsVector(FlatBufferBuilder builder, int numElems)
-
addBoneTransforms
public static void addBoneTransforms(FlatBufferBuilder builder, int boneTransformsOffset)
-
startBoneTransformsVector
public static void startBoneTransformsVector(FlatBufferBuilder builder, int numElems)
-
endSkeletonDef
public static int endSkeletonDef(FlatBufferBuilder builder)
-
-