Package physx.support
Class TypeHelpers
- java.lang.Object
-
- physx.NativeObject
-
- physx.support.TypeHelpers
-
public class TypeHelpers extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTypeHelpers()protectedTypeHelpers(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxArticulationJointarticulationBaseJointToJoint(PxArticulationJointBase baseJoint)voiddestroy()static PxContactPairgetContactPairAt(PxContactPair base, int index)static floatgetRealAt(PxRealPtr base, int index)static PxTriggerPairgetTriggerPairAt(PxTriggerPair base, int index)static shortgetU16At(PxU16ConstPtr base, int index)static intgetU32At(PxU32ConstPtr base, int index)static bytegetU8At(PxU8ConstPtr base, int index)static PxVec3getVec3At(PxVec3 base, int index)static NativeObjectvoidToAny(NativeObject voidPtr)static PxRealPtrvoidToRealPtr(NativeObject voidPtr)static PxU16ConstPtrvoidToU16ConstPtr(NativeObject voidPtr)static PxU32ConstPtrvoidToU32ConstPtr(NativeObject voidPtr)static PxU8ConstPtrvoidToU8ConstPtr(NativeObject voidPtr)static TypeHelperswrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static TypeHelpers wrapPointer(long address)
-
destroy
public void destroy()
-
getU8At
public static byte getU8At(PxU8ConstPtr base, int index)
- Parameters:
base- WebIDL type:PxU8ConstPtr[Ref]index- WebIDL type: long- Returns:
- WebIDL type: octet
-
getU16At
public static short getU16At(PxU16ConstPtr base, int index)
- Parameters:
base- WebIDL type:PxU16ConstPtr[Ref]index- WebIDL type: long- Returns:
- WebIDL type: unsigned short
-
getU32At
public static int getU32At(PxU32ConstPtr base, int index)
- Parameters:
base- WebIDL type:PxU32ConstPtr[Ref]index- WebIDL type: long- Returns:
- WebIDL type: unsigned long
-
getRealAt
public static float getRealAt(PxRealPtr base, int index)
- Parameters:
base- WebIDL type:PxRealPtr[Ref]index- WebIDL type: long- Returns:
- WebIDL type: float
-
getContactPairAt
public static PxContactPair getContactPairAt(PxContactPair base, int index)
- Parameters:
base- WebIDL type:PxContactPairindex- WebIDL type: long- Returns:
- WebIDL type:
PxContactPair
-
getTriggerPairAt
public static PxTriggerPair getTriggerPairAt(PxTriggerPair base, int index)
- Parameters:
base- WebIDL type:PxTriggerPairindex- WebIDL type: long- Returns:
- WebIDL type:
PxTriggerPair
-
voidToU8ConstPtr
public static PxU8ConstPtr voidToU8ConstPtr(NativeObject voidPtr)
- Parameters:
voidPtr- WebIDL type: VoidPtr- Returns:
- WebIDL type:
PxU8ConstPtr[Value]
-
voidToU16ConstPtr
public static PxU16ConstPtr voidToU16ConstPtr(NativeObject voidPtr)
- Parameters:
voidPtr- WebIDL type: VoidPtr- Returns:
- WebIDL type:
PxU16ConstPtr[Value]
-
voidToU32ConstPtr
public static PxU32ConstPtr voidToU32ConstPtr(NativeObject voidPtr)
- Parameters:
voidPtr- WebIDL type: VoidPtr- Returns:
- WebIDL type:
PxU32ConstPtr[Value]
-
voidToRealPtr
public static PxRealPtr voidToRealPtr(NativeObject voidPtr)
- Parameters:
voidPtr- WebIDL type: VoidPtr- Returns:
- WebIDL type:
PxRealPtr[Value]
-
articulationBaseJointToJoint
public static PxArticulationJoint articulationBaseJointToJoint(PxArticulationJointBase baseJoint)
- Parameters:
baseJoint- WebIDL type:PxArticulationJointBase- Returns:
- WebIDL type:
PxArticulationJoint
-
voidToAny
public static NativeObject voidToAny(NativeObject voidPtr)
- Parameters:
voidPtr- WebIDL type: VoidPtr- Returns:
- WebIDL type: any
-
-