java.lang.Object
physx.NativeObject
physx.character.PxControllerFilters
Filtering data for "move" call.
This class contains all filtering-related parameters for the PxController::move() call.
Collisions between a CCT and the world are filtered using the mFilterData, mFilterCallback and mFilterFlags members. These parameters are internally passed to PxScene::overlap() to find objects touched by the CCT. Please refer to the PxScene::overlap() documentation for details.
Collisions between a CCT and another CCT are filtered using the mCCTFilterCallback member. If this filter callback is not defined, none of the CCT-vs-CCT collisions are filtered, and each CCT will collide against all other CCTs.
Note: PxQueryFlag::eANY_HIT and PxQueryFlag::eNO_BLOCK are ignored in mFilterFlags.
-
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
ConstructorsModifierConstructorDescriptionprotectedPxControllerFilters(long address) PxControllerFilters(PxFilterData filterData) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxControllerFiltersarrayGet(long baseAddress, int index) voiddestroy()CCT-vs-CCT filter callback.Custom filter logic (can be NULL).Data for internal PxQueryFilterData structure.Flags for internal PxQueryFilterData structure.voidCCT-vs-CCT filter callback.voidCustom filter logic (can be NULL).voidsetMFilterData(PxFilterData value) Data for internal PxQueryFilterData structure.voidsetMFilterFlags(PxQueryFlags value) Flags for internal PxQueryFilterData structure.static PxControllerFilterswrapPointer(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
-
PxControllerFilters
protected PxControllerFilters(long address) -
PxControllerFilters
public PxControllerFilters() -
PxControllerFilters
- Parameters:
filterData- WebIDL type:PxFilterData[Const]
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getMFilterData
Data for internal PxQueryFilterData structure. Passed to PxScene::overlap() call. -
setMFilterData
Data for internal PxQueryFilterData structure. Passed to PxScene::overlap() call. -
getMFilterCallback
Custom filter logic (can be NULL). Passed to PxScene::overlap() call. -
setMFilterCallback
Custom filter logic (can be NULL). Passed to PxScene::overlap() call. -
getMFilterFlags
Flags for internal PxQueryFilterData structure. Passed to PxScene::overlap() call. -
setMFilterFlags
Flags for internal PxQueryFilterData structure. Passed to PxScene::overlap() call. -
getMCCTFilterCallback
CCT-vs-CCT filter callback. If NULL, all CCT-vs-CCT collisions are kept. -
setMCCTFilterCallback
CCT-vs-CCT filter callback. If NULL, all CCT-vs-CCT collisions are kept.
-