@NoOffset @Properties(inherit=liquidfun.class) public class b2GearJointDef extends b2JointDef
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b2GearJointDef() |
b2GearJointDef(long size)
Native array allocator.
|
b2GearJointDef(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
b2GearJointDef |
getPointer(long i) |
b2Joint |
joint1()
The first revolute/prismatic joint attached to the gear joint.
|
b2GearJointDef |
joint1(b2Joint setter) |
b2Joint |
joint2()
The second revolute/prismatic joint attached to the gear joint.
|
b2GearJointDef |
joint2(b2Joint setter) |
b2GearJointDef |
position(long position) |
float |
ratio()
The gear ratio.
|
b2GearJointDef |
ratio(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 b2GearJointDef(Pointer p)
Pointer(Pointer)
.public b2GearJointDef(long size)
Pointer.position(long)
.public b2GearJointDef()
public b2GearJointDef position(long position)
position
in class b2JointDef
public b2GearJointDef getPointer(long i)
getPointer
in class b2JointDef
public b2Joint joint1()
public b2GearJointDef joint1(b2Joint setter)
public b2Joint joint2()
public b2GearJointDef joint2(b2Joint setter)
@Cast(value="float32") public float ratio()
for explanation.
public b2GearJointDef ratio(float setter)
Copyright © 2022. All rights reserved.