java.lang.Object
physx.NativeObject
physx.character.PxControllerCollisionFlags
-
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
ConstructorsModifierConstructorDescriptionprotectedPxControllerCollisionFlags(byte flags) protectedPxControllerCollisionFlags(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxControllerCollisionFlagsarrayGet(long baseAddress, int index) voidstatic PxControllerCollisionFlagscreateAt(long address, byte flags) static <T> PxControllerCollisionFlagscreateAt(T allocator, NativeObject.Allocator<T> allocate, byte flags) voiddestroy()booleanvoidstatic PxControllerCollisionFlagswrapPointer(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
-
PxControllerCollisionFlags
protected PxControllerCollisionFlags() -
PxControllerCollisionFlags
protected PxControllerCollisionFlags(long address) -
PxControllerCollisionFlags
public PxControllerCollisionFlags(byte flags) - Parameters:
flags- WebIDL type: octet
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.flags- WebIDL type: octet- Returns:
- Stack allocated object of PxControllerCollisionFlags
-
createAt
public static <T> PxControllerCollisionFlags createAt(T allocator, NativeObject.Allocator<T> allocate, byte 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: octet- Returns:
- Stack allocated object of PxControllerCollisionFlags
-
destroy
public void destroy() -
isSet
- Parameters:
flag- WebIDL type:PxControllerCollisionFlagEnum[enum]- Returns:
- WebIDL type: boolean
-
raise
- Parameters:
flag- WebIDL type:PxControllerCollisionFlagEnum[enum]
-
clear
- Parameters:
flag- WebIDL type:PxControllerCollisionFlagEnum[enum]
-