java.lang.Object
physx.NativeObject
physx.geometry.SimpleCustomGeometryCallbacks
- Direct Known Subclasses:
SimpleCustomGeometryCallbacksImpl
-
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 TypeMethodDescriptionarrayGet(long baseAddress, int index) voidcomputeMassPropertiesImpl(PxGeometry geometry, PxMassProperties massProperties) voiddestroy()booleangenerateContactsImpl(PxGeometry geom0, PxGeometry geom1, PxTransform pose0, PxTransform pose1, float contactDistance, float meshContactMargin, float toleranceLength, PxContactBuffer contactBuffer) getLocalBoundsImpl(PxGeometry geometry) floatbooleanoverlapImpl(PxGeometry geom0, PxTransform pose0, PxGeometry geom1, PxTransform pose1) intraycastImpl(PxVec3 origin, PxVec3 unitDir, PxGeometry geom, PxTransform pose, float maxDist, PxHitFlags hitFlags, int maxHits, PxGeomRaycastHit rayHits, int stride) voidsetPersistentContactManifold_outBreakingThreshold(float value) booleansweepImpl(PxVec3 unitDir, float maxDist, PxGeometry geom0, PxTransform pose0, PxGeometry geom1, PxTransform pose1, PxGeomSweepHit sweepHit, PxHitFlags hitFlags, float inflation) booleanusePersistentContactManifoldImpl(PxGeometry geometry) wrapPointer(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
-
SimpleCustomGeometryCallbacks
protected SimpleCustomGeometryCallbacks() -
SimpleCustomGeometryCallbacks
protected SimpleCustomGeometryCallbacks(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getPersistentContactManifold_outBreakingThreshold
public float getPersistentContactManifold_outBreakingThreshold()- Returns:
- WebIDL type: float
-
setPersistentContactManifold_outBreakingThreshold
public void setPersistentContactManifold_outBreakingThreshold(float value) - Parameters:
value- WebIDL type: float
-
getLocalBoundsImpl
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]- Returns:
- WebIDL type:
PxBounds3
-
generateContactsImpl
public boolean generateContactsImpl(PxGeometry geom0, PxGeometry geom1, PxTransform pose0, PxTransform pose1, float contactDistance, float meshContactMargin, float toleranceLength, PxContactBuffer contactBuffer) - Parameters:
geom0- WebIDL type:PxGeometry[Const, Ref]geom1- WebIDL type:PxGeometry[Const, Ref]pose0- WebIDL type:PxTransform[Const, Ref]pose1- WebIDL type:PxTransform[Const, Ref]contactDistance- WebIDL type: floatmeshContactMargin- WebIDL type: floattoleranceLength- WebIDL type: floatcontactBuffer- WebIDL type:PxContactBuffer[Ref]- Returns:
- WebIDL type: boolean
-
raycastImpl
public int raycastImpl(PxVec3 origin, PxVec3 unitDir, PxGeometry geom, PxTransform pose, float maxDist, PxHitFlags hitFlags, int maxHits, PxGeomRaycastHit rayHits, int stride) - Parameters:
origin- WebIDL type:PxVec3[Const, Ref]unitDir- WebIDL type:PxVec3[Const, Ref]geom- WebIDL type:PxGeometry[Const, Ref]pose- WebIDL type:PxTransform[Const, Ref]maxDist- WebIDL type: floathitFlags- WebIDL type:PxHitFlags[Ref]maxHits- WebIDL type: unsigned longrayHits- WebIDL type:PxGeomRaycastHitstride- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-
overlapImpl
public boolean overlapImpl(PxGeometry geom0, PxTransform pose0, PxGeometry geom1, PxTransform pose1) - Parameters:
geom0- WebIDL type:PxGeometry[Const, Ref]pose0- WebIDL type:PxTransform[Const, Ref]geom1- WebIDL type:PxGeometry[Const, Ref]pose1- WebIDL type:PxTransform[Const, Ref]- Returns:
- WebIDL type: boolean
-
sweepImpl
public boolean sweepImpl(PxVec3 unitDir, float maxDist, PxGeometry geom0, PxTransform pose0, PxGeometry geom1, PxTransform pose1, PxGeomSweepHit sweepHit, PxHitFlags hitFlags, float inflation) - Parameters:
unitDir- WebIDL type:PxVec3[Const, Ref]maxDist- WebIDL type: floatgeom0- WebIDL type:PxGeometry[Const, Ref]pose0- WebIDL type:PxTransform[Const, Ref]geom1- WebIDL type:PxGeometry[Const, Ref]pose1- WebIDL type:PxTransform[Const, Ref]sweepHit- WebIDL type:PxGeomSweepHit[Ref]hitFlags- WebIDL type:PxHitFlags[Ref]inflation- WebIDL type: float- Returns:
- WebIDL type: boolean
-
computeMassPropertiesImpl
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]massProperties- WebIDL type:PxMassProperties[Ref]
-
usePersistentContactManifoldImpl
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]- Returns:
- WebIDL type: boolean
-