/** Passes the {@code mOffsetMatrix} field to the specified {@link java.util.function.Consumer Consumer}. */ public AIBone mOffsetMatrix(java.util.function.Consumer<AIMatrix4x4> consumer) { consumer.accept(mOffsetMatrix()); return this; }
/** Initializes this struct with the specified values. */ public AIBone set( AIString mName, AIVertexWeight.Buffer mWeights, AIMatrix4x4 mOffsetMatrix ) { mName(mName); mWeights(mWeights); mOffsetMatrix(mOffsetMatrix); return this; }
AIBone aiBone = AIBone.create(aiBones.get(i)); int id = boneList.size(); Bone bone = new Bone(id, aiBone.mName().dataString(), toMatrix(aiBone.mOffsetMatrix())); boneList.add(bone); int numWeights = aiBone.mNumWeights();
AIBone aiBone = AIBone.create(aiBones.get(i)); int id = boneList.size(); Bone bone = new Bone(id, aiBone.mName().dataString(), toMatrix(aiBone.mOffsetMatrix())); boneList.add(bone); int numWeights = aiBone.mNumWeights();