@Properties(inherit=liquidfun.class) public class b2ParticleBodyContact extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b2ParticleBodyContact()
Default native constructor.
|
b2ParticleBodyContact(long size)
Native array allocator.
|
b2ParticleBodyContact(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
b2Body |
body()
The body making contact.
|
b2ParticleBodyContact |
body(b2Body setter) |
b2Fixture |
fixture()
The specific fixture making contact
|
b2ParticleBodyContact |
fixture(b2Fixture setter) |
int |
index()
Index of the particle making contact.
|
b2ParticleBodyContact |
index(int setter) |
float |
mass()
The effective mass used in calculating force.
|
b2ParticleBodyContact |
mass(float setter) |
b2Vec2 |
normal()
The normalized direction from the particle to the body.
|
b2ParticleBodyContact |
normal(b2Vec2 setter) |
b2ParticleBodyContact |
position(long position) |
float |
weight()
Weight of the contact.
|
b2ParticleBodyContact |
weight(float setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic b2ParticleBodyContact()
public b2ParticleBodyContact(long size)
Pointer.position(long).public b2ParticleBodyContact(Pointer p)
Pointer.Pointer(Pointer).public b2ParticleBodyContact position(long position)
public b2ParticleBodyContact index(int setter)
public b2Body body()
public b2ParticleBodyContact body(b2Body setter)
public b2Fixture fixture()
public b2ParticleBodyContact fixture(b2Fixture setter)
@Cast(value="float32") public float weight()
public b2ParticleBodyContact weight(float setter)
public b2ParticleBodyContact normal(b2Vec2 setter)
public b2ParticleBodyContact mass(float setter)
Copyright © 2019. All rights reserved.