public class TypeHelpers extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
TypeHelpers() |
protected |
TypeHelpers(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxArticulationJoint |
articulationBaseJointToJoint(PxArticulationJointBase baseJoint) |
void |
destroy() |
static PxContactPair |
getContactPairAt(PxContactPair base,
int index) |
static float |
getRealAt(PxRealPtr base,
int index) |
static PxTriggerPair |
getTriggerPairAt(PxTriggerPair base,
int index) |
static short |
getU16At(PxU16ConstPtr base,
int index) |
static int |
getU32At(PxU32ConstPtr base,
int index) |
static byte |
getU8At(PxU8ConstPtr base,
int index) |
static PxVec3 |
getVec3At(PxVec3 base,
int index) |
static NativeObject |
voidToAny(NativeObject voidPtr) |
static PxRealPtr |
voidToRealPtr(NativeObject voidPtr) |
static PxU16Ptr |
voidToU16Ptr(NativeObject voidPtr) |
static PxU32Ptr |
voidToU32Ptr(NativeObject voidPtr) |
static PxU8Ptr |
voidToU8Ptr(NativeObject voidPtr) |
static TypeHelpers |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected TypeHelpers()
protected TypeHelpers(long address)
public static TypeHelpers wrapPointer(long address)
public void destroy()
public static byte getU8At(PxU8ConstPtr base, int index)
base - WebIDL type: PxU8ConstPtr [Ref]index - WebIDL type: longpublic static short getU16At(PxU16ConstPtr base, int index)
base - WebIDL type: PxU16ConstPtr [Ref]index - WebIDL type: longpublic static int getU32At(PxU32ConstPtr base, int index)
base - WebIDL type: PxU32ConstPtr [Ref]index - WebIDL type: longpublic static float getRealAt(PxRealPtr base, int index)
base - WebIDL type: PxRealPtr [Ref]index - WebIDL type: longpublic static PxContactPair getContactPairAt(PxContactPair base, int index)
base - WebIDL type: PxContactPairindex - WebIDL type: longPxContactPairpublic static PxTriggerPair getTriggerPairAt(PxTriggerPair base, int index)
base - WebIDL type: PxTriggerPairindex - WebIDL type: longPxTriggerPairpublic static PxU8Ptr voidToU8Ptr(NativeObject voidPtr)
voidPtr - WebIDL type: VoidPtrPxU8Ptr [Value]public static PxU16Ptr voidToU16Ptr(NativeObject voidPtr)
voidPtr - WebIDL type: VoidPtrPxU16Ptr [Value]public static PxU32Ptr voidToU32Ptr(NativeObject voidPtr)
voidPtr - WebIDL type: VoidPtrPxU32Ptr [Value]public static PxRealPtr voidToRealPtr(NativeObject voidPtr)
voidPtr - WebIDL type: VoidPtrPxRealPtr [Value]public static PxArticulationJoint articulationBaseJointToJoint(PxArticulationJointBase baseJoint)
baseJoint - WebIDL type: PxArticulationJointBasePxArticulationJointpublic static NativeObject voidToAny(NativeObject voidPtr)
voidPtr - WebIDL type: VoidPtr