Home
last modified time | relevance | path

Searched refs:boneList (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DSkeleton.java51 private Bone[] boneList; field in Skeleton
68 public Skeleton(Bone[] boneList) { in Skeleton() argument
69 this.boneList = boneList; in Skeleton()
72 for (int i = boneList.length - 1; i >= 0; i--) { in Skeleton()
73 Bone b = boneList[i]; in Skeleton()
98 Bone[] sourceList = source.boneList; in Skeleton()
99 boneList = new Bone[sourceList.length]; in Skeleton()
101 boneList[i] = new Bone(sourceList[i]); in Skeleton()
122 skinningMatrixes = new Matrix4f[boneList.length]; in createSkinningMatrices()
195 return boneList[index]; in getBone()
[all …]
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
DRagdollUtils.java134 public static List<Integer> getBoneIndices(Bone bone, Skeleton skeleton, Set<String> boneList) { in getBoneIndices() argument
136 if (boneList.isEmpty()) { in getBoneIndices()
141 if (!boneList.contains(chilBone.getName())) { in getBoneIndices()
142 list.addAll(getBoneIndices(chilBone, skeleton, boneList)); in getBoneIndices()
242 …nsform(Bone bone, Vector3f pos, Quaternion rot, boolean restoreBoneControl, Set<String> boneList) { in setTransform() argument
251 if (!boneList.contains(childBone.getName())) { in setTransform()
253 … setTransform(childBone, t.getTranslation(), t.getRotation(), restoreBoneControl, boneList); in setTransform()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DKinematicRagdollControl.java115 protected Set<String> boneList = new TreeSet<String>(); field in KinematicRagdollControl
206 if (boneList.isEmpty()) { in update()
211 RagdollUtils.setTransform(link.bone, position, tmpRot1, false, boneList); in update()
236 if (boneList.isEmpty()) { in update()
243 RagdollUtils.setTransform(link.bone, position, tmpRot1, true, boneList); in update()
350 boneList.add(name); in addBoneName()
375 if (boneList.isEmpty() || boneList.contains(bone.getName())) { in boneRecursion()
384 …romPointMap(pointsMap, RagdollUtils.getBoneIndices(link.bone, skeleton, boneList), initScale, link… in boneRecursion()
387 …mVerticeWeights(model, RagdollUtils.getBoneIndices(link.bone, skeleton, boneList), initScale, link… in boneRecursion()