Tabnine Logo
Filter
Code IndexAdd Tabnine to your IDE (free)

How to use
Filter
in
org.jbox2d.dynamics

Best Java code snippets using org.jbox2d.dynamics.Filter (Showing top 20 results out of 315)

origin: libgdx/libgdx

/**
 * Set the contact filtering data. This is an expensive operation and should not be called
 * frequently. This will not update contacts until the next time step when either parent body is
 * awake. This automatically calls refilter.
 * 
 * @param filter
 */
public void setFilterData(final Filter filter) {
 m_filter.set(filter);
 refilter();
}
origin: libgdx/libgdx

public FixtureDef() {
 shape = null;
 userData = null;
 friction = 0.2f;
 restitution = 0f;
 density = 0f;
 filter = new Filter();
 isSensor = false;
}
origin: libgdx/libgdx

m_filter.set(def.filter);
origin: libgdx/libgdx

public Fixture() {
 m_userData = null;
 m_body = null;
 m_next = null;
 m_proxies = null;
 m_proxyCount = 0;
 m_shape = null;
 m_filter = new Filter();
}
origin: jbox2d/jbox2d

/**
 * Set the contact filtering data. This is an expensive operation and should not be called
 * frequently. This will not update contacts until the next time step when either parent body is
 * awake. This automatically calls refilter.
 * 
 * @param filter
 */
public void setFilterData(final Filter filter) {
 m_filter.set(filter);
 refilter();
}
origin: libgdx/libgdx

/** Set the contact filtering data. This will not update contacts until the next time step when either parent body is active and
 * awake. This automatically calls Refilter. */
public void setFilterData (Filter filter) {
  org.jbox2d.dynamics.Filter f = new org.jbox2d.dynamics.Filter();
  f.categoryBits = filter.categoryBits;
  f.groupIndex = filter.groupIndex;
  f.maskBits = filter.maskBits;
  fixture.setFilterData(f);
}
origin: jbox2d/jbox2d

m_filter.set(def.filter);
origin: libgdx/libgdx

  public org.jbox2d.dynamics.FixtureDef toJBox2d () {
    org.jbox2d.dynamics.FixtureDef fd = new org.jbox2d.dynamics.FixtureDef();
    fd.density = density;
    fd.filter = new org.jbox2d.dynamics.Filter();
    fd.filter.categoryBits = filter.categoryBits;
    fd.filter.groupIndex = filter.groupIndex;
    fd.filter.maskBits = filter.maskBits;
    fd.friction = friction;
    fd.isSensor = isSensor;
    fd.restitution = restitution;
    fd.shape = shape.shape;
    return fd;
  }
}
origin: com.github.almasb/fxgl-physics

/**
 * Set the contact filtering data. This is an expensive operation and should not be called
 * frequently. This will not update contacts until the next time step when either parent body is
 * awake. This automatically calls refilter.
 *
 * @param filter filter
 */
public void setFilterData(final Filter filter) {
  this.filter.set(filter);
  refilter();
}
origin: jbox2d/jbox2d

public FixtureDef() {
 shape = null;
 userData = null;
 friction = 0.2f;
 restitution = 0f;
 density = 0f;
 filter = new Filter();
 isSensor = false;
}
origin: org.jbox2d/jbox2d-library

/**
 * Set the contact filtering data. This is an expensive operation and should not be called
 * frequently. This will not update contacts until the next time step when either parent body is
 * awake. This automatically calls refilter.
 * 
 * @param filter
 */
public void setFilterData(final Filter filter) {
 m_filter.set(filter);
 refilter();
}
origin: jbox2d/jbox2d

public Fixture() {
 m_userData = null;
 m_body = null;
 m_next = null;
 m_proxies = null;
 m_proxyCount = 0;
 m_shape = null;
 m_filter = new Filter();
}
origin: andmizi/MobikeTags

/**
 * Set the contact filtering data. This is an expensive operation and should not be called
 * frequently. This will not update contacts until the next time step when either parent body is
 * awake. This automatically calls refilter.
 * 
 * @param filter
 */
public void setFilterData(final Filter filter) {
 m_filter.set(filter);
 refilter();
}
origin: andmizi/MobikeTags

public Fixture() {
 m_userData = null;
 m_body = null;
 m_next = null;
 m_proxies = null;
 m_proxyCount = 0;
 m_shape = null;
 m_filter = new Filter();
}
origin: andmizi/MobikeTags

m_filter.set(def.filter);
origin: org.jbox2d/jbox2d-library

  public FixtureDef(){
    shape = null;
    userData = null;
    friction = 0.2f;
    restitution = 0f;
    density = 0f;
    filter = new Filter();
    isSensor = false;
  }
}
origin: org.jbox2d/jbox2d-library

m_filter.set(def.filter);
origin: andmizi/MobikeTags

public FixtureDef() {
 shape = null;
 userData = null;
 friction = 0.2f;
 restitution = 0f;
 density = 0f;
 filter = new Filter();
 isSensor = false;
}
origin: com.github.almasb/fxgl-physics

isSensor = def.isSensor();
filter.set(def.getFilter());
shape = def.getShape().clone();
origin: org.jbox2d/jbox2d-library

public Fixture() {
 m_userData = null;
 m_body = null;
 m_next = null;
 m_proxies = null;
 m_proxyCount = 0;
 m_shape = null;
 m_filter = new Filter();
}
org.jbox2d.dynamicsFilter

Javadoc

This holds contact filtering data.

Most used methods

  • set
  • <init>

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Runner (org.openjdk.jmh.runner)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now