java.lang.Object
physx.NativeObject
physx.physics.PxQueryFilterCallback
physx.physics.SimpleQueryFilterCallback
physx.physics.PxQueryFilterCallbackImpl
-
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 PxQueryFilterCallbackImplarrayGet(long baseAddress, int index) voiddestroy()intsimplePostFilter(PxFilterData filterData, PxQueryHit hit, PxShape shape, PxRigidActor actor) intsimplePreFilter(PxFilterData filterData, PxShape shape, PxRigidActor actor, PxHitFlags queryFlags) static PxQueryFilterCallbackImplwrapPointer(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
-
PxQueryFilterCallbackImpl
protected PxQueryFilterCallbackImpl(long address) -
PxQueryFilterCallbackImpl
protected PxQueryFilterCallbackImpl()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classSimpleQueryFilterCallback
-
simplePreFilter
public int simplePreFilter(PxFilterData filterData, PxShape shape, PxRigidActor actor, PxHitFlags queryFlags) - Overrides:
simplePreFilterin classSimpleQueryFilterCallback- Parameters:
filterData- WebIDL type:PxFilterData[Const, Ref]shape- WebIDL type:PxShape[Const]actor- WebIDL type:PxRigidActor[Const]queryFlags- WebIDL type:PxHitFlags[Ref]- Returns:
- WebIDL type: unsigned long
-
simplePostFilter
public int simplePostFilter(PxFilterData filterData, PxQueryHit hit, PxShape shape, PxRigidActor actor) - Overrides:
simplePostFilterin classSimpleQueryFilterCallback- Parameters:
filterData- WebIDL type:PxFilterData[Const, Ref]hit- WebIDL type:PxQueryHit[Const, Ref]shape- WebIDL type:PxShape[Const]actor- WebIDL type:PxRigidActor[Const]- Returns:
- WebIDL type: unsigned long
-