Codota Logo
Control.render
Code IndexAdd Codota to your IDE (free)

How to use
render
method
in
com.jme3.scene.control.Control

Best Java code snippets using com.jme3.scene.control.Control.render (Showing top 4 results out of 315)

  • Common ways to obtain Control
private void myMethod () {
Control c =
  • Codota IconSpatial spatial;spatial.getControl(index)
  • Codota IconNode node;node.getControl(AnimControl.class)
  • Codota IconSpatial spatial;spatial.getControl(RigidBodyControl.class)
  • Smart code suggestions by Codota
}
origin: jMonkeyEngine/jmonkeyengine

/**
 * Called when the Spatial is about to be rendered, to notify
 * controls attached to this Spatial using the Control.render() method.
 *
 * @param rm The RenderManager rendering the Spatial.
 * @param vp The ViewPort to which the Spatial is being rendered to.
 *
 * @see Spatial#addControl(com.jme3.scene.control.Control)
 * @see Spatial#getControl(java.lang.Class)
 */
public void runControlRender(RenderManager rm, ViewPort vp) {
  if (controls.isEmpty()) {
    return;
  }
  for (Control c : controls.getArray()) {
    c.render(rm, vp);
  }
}
origin: info.projectkyoto/mms-engine

@Override
protected void controlRender(RenderManager rm, ViewPort vp) {
  for (BatchedGeometry batchedGeometry : children) {
    for (int i = 0; i < batchedGeometry.getNumControls(); i++) {
      batchedGeometry.getControl(i).render(rm, vp);
    }
  }
}
origin: org.jmonkeyengine/jme3-core

/**
 * Called when the Spatial is about to be rendered, to notify
 * controls attached to this Spatial using the Control.render() method.
 *
 * @param rm The RenderManager rendering the Spatial.
 * @param vp The ViewPort to which the Spatial is being rendered to.
 *
 * @see Spatial#addControl(com.jme3.scene.control.Control)
 * @see Spatial#getControl(java.lang.Class)
 */
public void runControlRender(RenderManager rm, ViewPort vp) {
  if (controls.isEmpty()) {
    return;
  }
  for (Control c : controls.getArray()) {
    c.render(rm, vp);
  }
}
origin: info.projectkyoto/mms-engine

/**
 * Called when the Spatial is about to be rendered, to notify
 * controls attached to this Spatial using the Control.render() method.
 *
 * @param rm The RenderManager rendering the Spatial.
 * @param vp The ViewPort to which the Spatial is being rendered to.
 *
 * @see Spatial#addControl(com.jme3.scene.control.Control)
 * @see Spatial#getControl(java.lang.Class) 
 */
public void runControlRender(RenderManager rm, ViewPort vp) {
  if (controls.isEmpty()) {
    return;
  }
  for (Control c : controls.getArray()) {
    c.render(rm, vp);
  }
}
com.jme3.scene.controlControlrender

Javadoc

Should be called prior to queuing the spatial by the RenderManager. This should not be called from user code.

Popular methods of Control

  • setSpatial
  • update
    Updates the control. This should not be called from user code.
  • cloneForSpatial
    Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • JFrame (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
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