@NoOffset @Properties(inherit=liquidfun.class) public class b2WeldJointDef extends b2JointDef
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
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) |
b2WeldJointDef |
getPointer(long i) |
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, userData
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public b2WeldJointDef(Pointer p)
Pointer(Pointer)
.public b2WeldJointDef(long size)
Pointer.position(long)
.public b2WeldJointDef()
public b2WeldJointDef position(long position)
position
in class b2JointDef
public b2WeldJointDef getPointer(long i)
getPointer
in class b2JointDef
public 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 © 2022. All rights reserved.