Codota Logo
Joint.getParent
Code IndexAdd Codota to your IDE (free)

How to use
getParent
method
in
com.jme3.anim.Joint

Best Java code snippets using com.jme3.anim.Joint.getParent (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

/**
 * Creates an armature from a joint list.
 * The root joints are found automatically.
 * <p>
 * Note that using this constructor will cause the joints in the list
 * to have their bind pose recomputed based on their local transforms.
 *
 * @param jointList The list of joints to manage by this Armature
 */
public Armature(Joint[] jointList) {
  this.jointList = jointList;
  List<Joint> rootJointList = new ArrayList<>();
  for (int i = jointList.length - 1; i >= 0; i--) {
    Joint joint = jointList[i];
    joint.setId(i);
    instanciateJointModelTransform(joint);
    if (joint.getParent() == null) {
      rootJointList.add(joint);
    }
  }
  rootJoints = rootJointList.toArray(new Joint[rootJointList.size()]);
  createSkinningMatrices();
  for (int i = rootJoints.length - 1; i >= 0; i--) {
    Joint rootJoint = rootJoints[i];
    rootJoint.update();
  }
}
origin: jMonkeyEngine/jmonkeyengine

System.err.println("-----------------------");
System.err.println("Selected Joint : " + selectedjoint.getName() + " in armature " + ad.getName());
System.err.println("Root Bone : " + (selectedjoint.getParent() == null));
System.err.println("-----------------------");
System.err.println("Local translation: " + selectedjoint.getLocalTranslation());
com.jme3.animJointgetParent

Popular methods of Joint

  • <init>
  • addChild
  • getLocalRotation
  • getLocalScale
  • getLocalTranslation
  • getName
  • setLocalTransform
  • setLocalTranslation
  • applyBindPose
    Sets the local transform with the bind transforms
  • applyInitialPose
    Sets the local transform with the initial transform
  • getAttachmentsNode
    Access the attachments node of this joint. If this joint doesn't already have an attachments node, c
  • getChildren
  • getAttachmentsNode,
  • getChildren,
  • getId,
  • getInverseModelBindMatrix,
  • getJointModelTransform,
  • getLocalTransform,
  • getModelTransform,
  • getOffsetTransform,
  • saveBindPose

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Collectors (java.util.stream)
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now