@NoOffset @Properties(inherit=liquidfun.class) public class b2FrictionJointDef extends b2JointDef
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b2FrictionJointDef() |
b2FrictionJointDef(long size)
Native array allocator.
|
b2FrictionJointDef(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
b2FrictionJointDef |
getPointer(long i) |
void |
Initialize(b2Body bodyA,
b2Body bodyB,
b2Vec2 anchor)
Initialize the bodies, anchors, axis, and reference angle using the world
anchor and world axis.
|
b2Vec2 |
localAnchorA()
The local anchor point relative to bodyA's origin.
|
b2FrictionJointDef |
localAnchorA(b2Vec2 setter) |
b2Vec2 |
localAnchorB()
The local anchor point relative to bodyB's origin.
|
b2FrictionJointDef |
localAnchorB(b2Vec2 setter) |
float |
maxForce()
The maximum friction force in N.
|
b2FrictionJointDef |
maxForce(float setter) |
float |
maxTorque()
The maximum friction torque in N-m.
|
b2FrictionJointDef |
maxTorque(float setter) |
b2FrictionJointDef |
position(long position) |
bodyA, bodyA, bodyB, bodyB, collideConnected, collideConnected, type, type, userData, userDataaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic b2FrictionJointDef(Pointer p)
Pointer(Pointer).public b2FrictionJointDef(long size)
Pointer.position(long).public b2FrictionJointDef()
public b2FrictionJointDef position(long position)
position in class b2JointDefpublic b2FrictionJointDef getPointer(long i)
getPointer in class b2JointDefpublic void Initialize(b2Body bodyA, b2Body bodyB, @Const @ByRef b2Vec2 anchor)
public b2FrictionJointDef localAnchorA(b2Vec2 setter)
public b2FrictionJointDef localAnchorB(b2Vec2 setter)
public b2FrictionJointDef maxForce(float setter)
public b2FrictionJointDef maxTorque(float setter)
Copyright © 2021. All rights reserved.