@NoOffset @Properties(inherit=liquidfun.class) public class b2WeldJointDef extends b2JointDef
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
b2WeldJointDef() |
b2WeldJointDef(long size)
Native array allocator.
|
b2WeldJointDef(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
dampingRatio()
The damping ratio.
|
b2WeldJointDef |
dampingRatio(float setter) |
float |
frequencyHz()
The mass-spring-damper frequency in Hertz.
|
b2WeldJointDef |
frequencyHz(float setter) |
void |
Initialize(b2Body bodyA,
b2Body bodyB,
b2Vec2 anchor)
Initialize the bodies, anchors, and reference angle using a world
anchor point.
|
b2Vec2 |
localAnchorA()
The local anchor point relative to bodyA's origin.
|
b2WeldJointDef |
localAnchorA(b2Vec2 setter) |
b2Vec2 |
localAnchorB()
The local anchor point relative to bodyB's origin.
|
b2WeldJointDef |
localAnchorB(b2Vec2 setter) |
b2WeldJointDef |
position(long position) |
float |
referenceAngle()
The bodyB angle minus bodyA angle in the reference state (radians).
|
b2WeldJointDef |
referenceAngle(float setter) |
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, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic b2WeldJointDef(Pointer p)
Pointer.Pointer(Pointer).public b2WeldJointDef(long size)
Pointer.position(long).public b2WeldJointDef()
public b2WeldJointDef position(long position)
position in class b2JointDefpublic void Initialize(b2Body bodyA, b2Body bodyB, @Const @ByRef b2Vec2 anchor)
public b2WeldJointDef localAnchorA(b2Vec2 setter)
public b2WeldJointDef localAnchorB(b2Vec2 setter)
@Cast(value="float32") public float referenceAngle()
public b2WeldJointDef referenceAngle(float setter)
@Cast(value="float32") public float frequencyHz()
public b2WeldJointDef frequencyHz(float setter)
@Cast(value="float32") public float dampingRatio()
public b2WeldJointDef dampingRatio(float setter)
Copyright © 2019. All rights reserved.