java.lang.Object
physx.NativeObject
physx.physics.PxArticulationFlags
-
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
ConstructorsModifierConstructorDescriptionprotectedPxArticulationFlags(byte flags) protectedPxArticulationFlags(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxArticulationFlagsarrayGet(long baseAddress, int index) voidclear(PxArticulationFlagEnum flag) static PxArticulationFlagscreateAt(long address, byte flags) static <T> PxArticulationFlagscreateAt(T allocator, NativeObject.Allocator<T> allocate, byte flags) voiddestroy()booleanisSet(PxArticulationFlagEnum flag) voidraise(PxArticulationFlagEnum flag) static PxArticulationFlagswrapPointer(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
-
PxArticulationFlags
protected PxArticulationFlags() -
PxArticulationFlags
protected PxArticulationFlags(long address) -
PxArticulationFlags
public PxArticulationFlags(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 PxArticulationFlags
-
createAt
public static <T> PxArticulationFlags 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 PxArticulationFlags
-
destroy
public void destroy() -
isSet
- Parameters:
flag- WebIDL type:PxArticulationFlagEnum[enum]- Returns:
- WebIDL type: boolean
-
raise
- Parameters:
flag- WebIDL type:PxArticulationFlagEnum[enum]
-
clear
- Parameters:
flag- WebIDL type:PxArticulationFlagEnum[enum]
-