@NoOffset @Properties(inherit=liquidfun.class) public class b2MouseJoint extends b2Joint
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b2MouseJoint(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dump()
The mouse joint does not support dumping.
|
b2Vec2 |
GetAnchorA()
Implements b2Joint.
|
b2Vec2 |
GetAnchorB()
Implements b2Joint.
|
float |
GetDampingRatio() |
float |
GetFrequency() |
float |
GetMaxForce() |
b2Vec2 |
GetReactionForce(float inv_dt)
Implements b2Joint.
|
float |
GetReactionTorque(float inv_dt)
Implements b2Joint.
|
b2Vec2 |
GetTarget() |
void |
SetDampingRatio(float ratio)
Set/get the damping ratio (dimensionless).
|
void |
SetFrequency(float hz)
Set/get the frequency in Hertz.
|
void |
SetMaxForce(float force)
Set/get the maximum force in Newtons.
|
void |
SetTarget(b2Vec2 target)
Use this to update the target point.
|
void |
ShiftOrigin(b2Vec2 newOrigin)
Implement b2Joint::ShiftOrigin
|
GetBodyA, GetBodyB, GetCollideConnected, GetNext, GetType, GetUserData, IsActive, SetUserDataaddress, 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, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic b2MouseJoint(Pointer p)
Pointer.Pointer(Pointer).@ByVal public b2Vec2 GetAnchorA()
GetAnchorA in class b2Joint@ByVal public b2Vec2 GetAnchorB()
GetAnchorB in class b2Joint@ByVal public b2Vec2 GetReactionForce(@Cast(value="float32") float inv_dt)
GetReactionForce in class b2Joint@Cast(value="float32") public float GetReactionTorque(@Cast(value="float32") float inv_dt)
GetReactionTorque in class b2Jointpublic void SetMaxForce(@Cast(value="float32") float force)
public void SetFrequency(@Cast(value="float32") float hz)
public void SetDampingRatio(@Cast(value="float32") float ratio)
public void ShiftOrigin(@Const @ByRef b2Vec2 newOrigin)
ShiftOrigin in class b2JointCopyright © 2019. All rights reserved.