java.lang.Object
physx.NativeObject
physx.physics.PxQueryFilterData
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxQueryFilterDataarrayGet(long baseAddress, int index) static PxQueryFilterDatacreateAt(long address) static PxQueryFilterDatacreateAt(long address, PxFilterData fd, PxQueryFlags f) static PxQueryFilterDatacreateAt(long address, PxQueryFlags f) static <T> PxQueryFilterDatacreateAt(T allocator, NativeObject.Allocator<T> allocate) static <T> PxQueryFilterDatacreateAt(T allocator, NativeObject.Allocator<T> allocate, PxFilterData fd, PxQueryFlags f) static <T> PxQueryFilterDatacreateAt(T allocator, NativeObject.Allocator<T> allocate, PxQueryFlags f) voiddestroy()getData()getFlags()voidsetData(PxFilterData value) voidsetFlags(PxQueryFlags value) static PxQueryFilterDatawrapPointer(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
-
PxQueryFilterData
protected PxQueryFilterData(long address) -
PxQueryFilterData
public PxQueryFilterData() -
PxQueryFilterData
- Parameters:
fd- WebIDL type:PxFilterData[Const, Ref]f- WebIDL type:PxQueryFlags[Ref]
-
PxQueryFilterData
- Parameters:
f- WebIDL type:PxQueryFlags[Ref]
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxQueryFilterData
-
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 PxQueryFilterData
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.fd- WebIDL type:PxFilterData[Const, Ref]f- WebIDL type:PxQueryFlags[Ref]- Returns:
- Stack allocated object of PxQueryFilterData
-
createAt
public static <T> PxQueryFilterData createAt(T allocator, NativeObject.Allocator<T> allocate, PxFilterData fd, PxQueryFlags f) - 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.fd- WebIDL type:PxFilterData[Const, Ref]f- WebIDL type:PxQueryFlags[Ref]- Returns:
- Stack allocated object of PxQueryFilterData
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.f- WebIDL type:PxQueryFlags[Ref]- Returns:
- Stack allocated object of PxQueryFilterData
-
createAt
public static <T> PxQueryFilterData createAt(T allocator, NativeObject.Allocator<T> allocate, PxQueryFlags f) - 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.f- WebIDL type:PxQueryFlags[Ref]- Returns:
- Stack allocated object of PxQueryFilterData
-
destroy
public void destroy() -
getData
- Returns:
- WebIDL type:
PxFilterData[Value]
-
setData
- Parameters:
value- WebIDL type:PxFilterData[Value]
-
getFlags
- Returns:
- WebIDL type:
PxQueryFlags[Value]
-
setFlags
- Parameters:
value- WebIDL type:PxQueryFlags[Value]
-