@NoOffset @Properties(inherit=liquidfun.class) public class b2JointDef extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b2JointDef() |
b2JointDef(long size)
Native array allocator.
|
b2JointDef(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
b2Body |
bodyA()
The first attached body.
|
b2JointDef |
bodyA(b2Body setter) |
b2Body |
bodyB()
The second attached body.
|
b2JointDef |
bodyB(b2Body setter) |
boolean |
collideConnected()
Set this flag to true if the attached bodies should collide.
|
b2JointDef |
collideConnected(boolean setter) |
b2JointDef |
position(long position) |
int |
type()
The joint type is set automatically for concrete joint types.
|
b2JointDef |
type(int setter) |
Pointer |
userData()
Use this to attach application specific data to your joints.
|
b2JointDef |
userData(Pointer 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 b2JointDef(Pointer p)
Pointer.Pointer(Pointer).public b2JointDef(long size)
Pointer.position(long).public b2JointDef()
public b2JointDef position(long position)
@Cast(value="b2JointType") public int type()
public b2JointDef type(int setter)
public Pointer userData()
public b2JointDef userData(Pointer setter)
public b2Body bodyA()
public b2JointDef bodyA(b2Body setter)
public b2Body bodyB()
public b2JointDef bodyB(b2Body setter)
@Cast(value="bool") public boolean collideConnected()
public b2JointDef collideConnected(boolean setter)
Copyright © 2019. All rights reserved.