/** Passes the {@code mName} field to the specified {@link java.util.function.Consumer Consumer}. */ public AIBone mName(java.util.function.Consumer<AIString> consumer) { consumer.accept(mName()); return this; } /** Returns the value of the {@code mNumWeights} field. */
/** 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();