@NoOffset @Properties(inherit=liquidfun.class) public class b2WeldJoint extends b2Joint
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
b2WeldJoint(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dump()
Dump to b2Log
|
b2Vec2 |
GetAnchorA()
Get the anchor point on bodyA in world coordinates.
|
b2Vec2 |
GetAnchorB()
Get the anchor point on bodyB in world coordinates.
|
float |
GetDampingRatio() |
float |
GetFrequency() |
b2Vec2 |
GetLocalAnchorA()
The local anchor point relative to bodyA's origin.
|
b2Vec2 |
GetLocalAnchorB()
The local anchor point relative to bodyB's origin.
|
b2Vec2 |
GetReactionForce(float inv_dt)
Get the reaction force on bodyB at the joint anchor in Newtons.
|
float |
GetReactionTorque(float inv_dt)
Get the reaction torque on bodyB in N*m.
|
float |
GetReferenceAngle()
Get the reference angle.
|
void |
SetDampingRatio(float ratio)
Set/get damping ratio.
|
void |
SetFrequency(float hz)
Set/get frequency in Hz.
|
GetBodyA, GetBodyB, GetCollideConnected, GetNext, GetType, GetUserData, IsActive, SetUserData, ShiftOriginaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic b2WeldJoint(Pointer p)
Pointer(Pointer).@ByVal public b2Vec2 GetAnchorA()
b2JointGetAnchorA in class b2Joint@ByVal public b2Vec2 GetAnchorB()
b2JointGetAnchorB in class b2Joint@ByVal public b2Vec2 GetReactionForce(@Cast(value="float32") float inv_dt)
b2JointGetReactionForce in class b2Joint@Cast(value="float32") public float GetReactionTorque(@Cast(value="float32") float inv_dt)
b2JointGetReactionTorque in class b2Joint@Const @ByRef public b2Vec2 GetLocalAnchorA()
@Const @ByRef public b2Vec2 GetLocalAnchorB()
public void SetDampingRatio(@Cast(value="float32") float ratio)
Copyright © 2021. All rights reserved.