@NoOffset @Properties(inherit=liquidfun.class) public class b2MouseJointDef extends b2JointDef
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b2MouseJointDef() |
b2MouseJointDef(long size)
Native array allocator.
|
b2MouseJointDef(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
dampingRatio()
The damping ratio.
|
b2MouseJointDef |
dampingRatio(float setter) |
float |
frequencyHz()
The response speed.
|
b2MouseJointDef |
frequencyHz(float setter) |
b2MouseJointDef |
getPointer(long i) |
float |
maxForce()
The maximum constraint force that can be exerted
to move the candidate body.
|
b2MouseJointDef |
maxForce(float setter) |
b2MouseJointDef |
position(long position) |
b2Vec2 |
target()
The initial world target point.
|
b2MouseJointDef |
target(b2Vec2 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 b2MouseJointDef(Pointer p)
Pointer(Pointer)
.public b2MouseJointDef(long size)
Pointer.position(long)
.public b2MouseJointDef()
public b2MouseJointDef position(long position)
position
in class b2JointDef
public b2MouseJointDef getPointer(long i)
getPointer
in class b2JointDef
@ByRef public b2Vec2 target()
public b2MouseJointDef target(b2Vec2 setter)
@Cast(value="float32") public float maxForce()
public b2MouseJointDef maxForce(float setter)
public b2MouseJointDef frequencyHz(float setter)
@Cast(value="float32") public float dampingRatio()
public b2MouseJointDef dampingRatio(float setter)
Copyright © 2022. All rights reserved.