@NoOffset @Properties(inherit=LinearMath.class) public class btDefaultMotionState extends btMotionState
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btDefaultMotionState() |
btDefaultMotionState(btTransform startTrans,
btTransform centerOfMassOffset) |
btDefaultMotionState(long size)
Native array allocator.
|
btDefaultMotionState(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
btDefaultMotionState |
getPointer(long i) |
void |
getWorldTransform(btTransform centerOfMassWorldTrans)
synchronizes world transform from user to physics
|
btTransform |
m_centerOfMassOffset() |
btDefaultMotionState |
m_centerOfMassOffset(btTransform setter) |
btTransform |
m_graphicsWorldTrans() |
btDefaultMotionState |
m_graphicsWorldTrans(btTransform setter) |
btTransform |
m_startWorldTrans() |
btDefaultMotionState |
m_startWorldTrans(btTransform setter) |
Pointer |
m_userPointer() |
btDefaultMotionState |
m_userPointer(Pointer setter) |
btDefaultMotionState |
position(long position) |
void |
setWorldTransform(btTransform centerOfMassWorldTrans)
synchronizes world transform from physics to user
Bullet only calls the update of worldtransform for active objects
|
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, zeropublic btDefaultMotionState(Pointer p)
Pointer(Pointer).public btDefaultMotionState(long size)
Pointer.position(long).public btDefaultMotionState(@Const @ByRef(nullValue="btTransform::getIdentity()") btTransform startTrans, @Const @ByRef(nullValue="btTransform::getIdentity()") btTransform centerOfMassOffset)
public btDefaultMotionState()
public btDefaultMotionState position(long position)
position in class btMotionStatepublic btDefaultMotionState getPointer(long i)
getPointer in class btMotionState@ByRef public btTransform m_graphicsWorldTrans()
public btDefaultMotionState m_graphicsWorldTrans(btTransform setter)
@ByRef public btTransform m_centerOfMassOffset()
public btDefaultMotionState m_centerOfMassOffset(btTransform setter)
@ByRef public btTransform m_startWorldTrans()
public btDefaultMotionState m_startWorldTrans(btTransform setter)
public Pointer m_userPointer()
public btDefaultMotionState m_userPointer(Pointer setter)
@Virtual @Const(value={false,false,true}) public void getWorldTransform(@ByRef btTransform centerOfMassWorldTrans)
getWorldTransform in class btMotionState@Virtual public void setWorldTransform(@Const @ByRef btTransform centerOfMassWorldTrans)
setWorldTransform in class btMotionStateCopyright © 2024. All rights reserved.