java.lang.Object
physx.NativeObject
physx.physics.PxFilterData
-
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
ConstructorsModifierConstructorDescriptionPxFilterData(int w0, int w1, int w2, int w3) protectedPxFilterData(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxFilterDataarrayGet(long baseAddress, int index) static PxFilterDatacreateAt(long address) static PxFilterDatacreateAt(long address, int w0, int w1, int w2, int w3) static <T> PxFilterDatacreateAt(T allocator, NativeObject.Allocator<T> allocate) static <T> PxFilterDatacreateAt(T allocator, NativeObject.Allocator<T> allocate, int w0, int w1, int w2, int w3) voiddestroy()intgetWord0()intgetWord1()intgetWord2()intgetWord3()voidsetWord0(int value) voidsetWord1(int value) voidsetWord2(int value) voidsetWord3(int value) static PxFilterDatawrapPointer(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
-
PxFilterData
protected PxFilterData(long address) -
PxFilterData
public PxFilterData() -
PxFilterData
public PxFilterData(int w0, int w1, int w2, int w3) - Parameters:
w0- WebIDL type: unsigned longw1- WebIDL type: unsigned longw2- WebIDL type: unsigned longw3- WebIDL type: unsigned long
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxFilterData
-
createAt
- 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.- Returns:
- Stack allocated object of PxFilterData
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.w0- WebIDL type: unsigned longw1- WebIDL type: unsigned longw2- WebIDL type: unsigned longw3- WebIDL type: unsigned long- Returns:
- Stack allocated object of PxFilterData
-
createAt
public static <T> PxFilterData createAt(T allocator, NativeObject.Allocator<T> allocate, int w0, int w1, int w2, int w3) - 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.w0- WebIDL type: unsigned longw1- WebIDL type: unsigned longw2- WebIDL type: unsigned longw3- WebIDL type: unsigned long- Returns:
- Stack allocated object of PxFilterData
-
destroy
public void destroy() -
getWord0
public int getWord0()- Returns:
- WebIDL type: unsigned long
-
setWord0
public void setWord0(int value) - Parameters:
value- WebIDL type: unsigned long
-
getWord1
public int getWord1()- Returns:
- WebIDL type: unsigned long
-
setWord1
public void setWord1(int value) - Parameters:
value- WebIDL type: unsigned long
-
getWord2
public int getWord2()- Returns:
- WebIDL type: unsigned long
-
setWord2
public void setWord2(int value) - Parameters:
value- WebIDL type: unsigned long
-
getWord3
public int getWord3()- Returns:
- WebIDL type: unsigned long
-
setWord3
public void setWord3(int value) - Parameters:
value- WebIDL type: unsigned long
-