Package physx.extensions
Class PxRevoluteJointFlags
- java.lang.Object
-
- physx.NativeObject
-
- physx.extensions.PxRevoluteJointFlags
-
public class PxRevoluteJointFlags extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxRevoluteJointFlags()protectedPxRevoluteJointFlags(long address)PxRevoluteJointFlags(short flags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(int flag)voiddestroy()booleanisSet(int flag)static PxRevoluteJointFlagsmalloc(long address, short flags)static <T> PxRevoluteJointFlagsmalloc(T allocator, NativeObject.Allocator<T> allocate, short flags)voidset(int flag)static PxRevoluteJointFlagswrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Method Detail
-
wrapPointer
public static PxRevoluteJointFlags wrapPointer(long address)
-
malloc
public static PxRevoluteJointFlags malloc(long address, short flags)
- Parameters:
address- where the object is allocatedflags- unsigned short- Returns:
- Stack allocated object of PxRevoluteJointFlags
-
malloc
public static <T> PxRevoluteJointFlags malloc(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- unsigned short- Returns:
- Stack allocated object of PxRevoluteJointFlags
-
destroy
public void destroy()
-
isSet
public boolean isSet(int flag)
- Parameters:
flag-PxRevoluteJointFlagEnum[enum]- Returns:
- boolean
-
set
public void set(int flag)
- Parameters:
flag-PxRevoluteJointFlagEnum[enum]
-
clear
public void clear(int flag)
- Parameters:
flag-PxRevoluteJointFlagEnum[enum]
-
-