java.lang.Object
physx.NativeObject
physx.extensions.PxPrismaticJointFlags
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedPxPrismaticJointFlags(long address) PxPrismaticJointFlags(short flags) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxPrismaticJointFlagsarrayGet(long baseAddress, int index) voidstatic PxPrismaticJointFlagscreateAt(long address, short flags) static <T> PxPrismaticJointFlagscreateAt(T allocator, NativeObject.Allocator<T> allocate, short flags) voiddestroy()booleanvoidstatic PxPrismaticJointFlagswrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxPrismaticJointFlags
protected PxPrismaticJointFlags() -
PxPrismaticJointFlags
protected PxPrismaticJointFlags(long address) -
PxPrismaticJointFlags
public PxPrismaticJointFlags(short flags) - Parameters:
flags- WebIDL type: unsigned short
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.flags- WebIDL type: unsigned short- Returns:
- Stack allocated object of PxPrismaticJointFlags
-
createAt
public static <T> PxPrismaticJointFlags createAt(T allocator, NativeObject.Allocator<T> allocate, short flags) - Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
allocator- Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate- Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.flags- WebIDL type: unsigned short- Returns:
- Stack allocated object of PxPrismaticJointFlags
-
destroy
public void destroy() -
isSet
- Parameters:
flag- WebIDL type:PxPrismaticJointFlagEnum[enum]- Returns:
- WebIDL type: boolean
-
raise
- Parameters:
flag- WebIDL type:PxPrismaticJointFlagEnum[enum]
-
clear
- Parameters:
flag- WebIDL type:PxPrismaticJointFlagEnum[enum]
-