Java com.badlogic.gdx.physics.box2d Fixture fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.physics.box2d Fixture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.physics.box2d Fixture.

The text is from its open source code.

Method

BodygetBody()
Get the parent body of this fixture.
floatgetDensity()
Get the density of this fixture.
FiltergetFilterData()
floatgetFriction()
Get the coefficient of friction.
floatgetRestitution()
Get the coefficient of restitution.
ShapegetShape()
Returns the shape of this fixture
TypegetType()
Get the type of the child shape.
ObjectgetUserData()
booleanisSensor()
Is this fixture a sensor (non-solid)?
voidsetDensity(float density)
Set the density of this fixture.
voidsetFilterData(Filter filter)
Set the contact filtering data.
voidsetFriction(float friction)
Set the coefficient of friction.
voidsetRestitution(float restitution)
Set the coefficient of restitution.
voidsetSensor(boolean sensor)
Set if this fixture is a sensor.
voidsetUserData(Object userData)
Sets custom user data.
booleantestPoint(float x, float y)
Test a point for containment in this fixture.