Package physx.physics
Class PxScene
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxScene
-
public class PxScene extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddActor(PxActor actor)voidaddActor(PxActor actor, PxBVHStructure bvhStructure)voidaddAggregate(PxAggregate aggregate)voidaddArticulation(PxArticulationBase articulation)intaddBroadPhaseRegion(PxBroadPhaseRegion region)intaddBroadPhaseRegion(PxBroadPhaseRegion region, boolean populateRegion)voidadvance()voidadvance(PxBaseTask completionTask)booleancheckQueries()booleancheckQueries(boolean block)booleancheckResults()booleancheckResults(boolean block)voidcollide(float elapsedTime)voidcollide(float elapsedTime, PxBaseTask completionTask)voidcollide(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock)voidcollide(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize)voidcollide(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize, boolean controlSimulation)PxBatchQuerycreateBatchQuery(PxBatchQueryDesc desc)bytecreateClient()booleanfetchCollision()booleanfetchCollision(boolean block)booleanfetchQueries()booleanfetchQueries(boolean block)booleanfetchResults()booleanfetchResults(boolean block)voidflushQueryUpdates()voidflushSimulation()voidflushSimulation(boolean sendPendingReports)voidforceDynamicTreeRebuild(boolean rebuildStaticStructure, boolean rebuildDynamicStructure)floatgetBounceThresholdVelocity()booleangetBroadPhaseCaps(PxBroadPhaseCaps caps)intgetBroadPhaseRegions(PxBroadPhaseRegionInfo userBuffer, int bufferSize)intgetBroadPhaseRegions(PxBroadPhaseRegionInfo userBuffer, int bufferSize, int startIndex)intgetBroadPhaseType()intgetCCDMaxPasses()intgetContactReportStreamBufferSize()PxCpuDispatchergetCpuDispatcher()PxCudaContextManagergetCudaContextManager()intgetDynamicStructure()intgetDynamicTreeRebuildRateHint()PxSimulationFilterShadergetFilterShader()NativeObjectgetFilterShaderData()intgetFilterShaderDataSize()PxSceneFlagsgetFlags()floatgetFrictionOffsetThreshold()intgetFrictionType()PxVec3getGravity()intgetKinematicKinematicFilteringMode()PxSceneLimitsgetLimits()intgetMaxNbContactDataBlocksUsed()intgetNbActors(PxActorTypeFlags types)intgetNbAggregates()intgetNbArticulations()intgetNbBroadPhaseRegions()intgetNbConstraints()intgetNbContactDataBlocksUsed()PxPhysicsgetPhysics()intgetSceneQueryStaticTimestamp()intgetSceneQueryUpdateMode()PxSimulationEventCallbackgetSimulationEventCallback()voidgetSimulationStatistics(PxSimulationStatistics stats)intgetSolverArticulationBatchSize()intgetSolverBatchSize()intgetStaticKinematicFilteringMode()intgetStaticStructure()intgetTimestamp()NativeObjectgetUserData()floatgetWakeCounterResetValue()voidlockRead()voidlockRead(java.lang.String file)voidlockRead(java.lang.String file, int line)voidlockWrite()voidlockWrite(java.lang.String file)voidlockWrite(java.lang.String file, int line)booleanoverlap(PxGeometry geometry, PxTransform pose, PxOverlapCallback hitCall)booleanoverlap(PxGeometry geometry, PxTransform pose, PxOverlapCallback hitCall, PxQueryFilterData filterData)voidprocessCallbacks(PxBaseTask continuation)booleanraycast(PxVec3 origin, PxVec3 unitDir, float distance, PxRaycastCallback hitCall)booleanraycast(PxVec3 origin, PxVec3 unitDir, float distance, PxRaycastCallback hitCall, PxHitFlags hitFlags)booleanraycast(PxVec3 origin, PxVec3 unitDir, float distance, PxRaycastCallback hitCall, PxHitFlags hitFlags, PxQueryFilterData filterData)voidrelease()voidremoveActor(PxActor actor)voidremoveActor(PxActor actor, boolean wakeOnLostTouch)voidremoveAggregate(PxAggregate aggregate)voidremoveAggregate(PxAggregate aggregate, boolean wakeOnLostTouch)voidremoveArticulation(PxArticulationBase articulation)voidremoveArticulation(PxArticulationBase articulation, boolean wakeOnLostTouch)booleanremoveBroadPhaseRegion(int handle)voidresetFiltering(PxActor actor)voidsceneQueriesUpdate()voidsceneQueriesUpdate(PxBaseTask completionTask)voidsceneQueriesUpdate(PxBaseTask completionTask, boolean controlSimulation)voidsetBounceThresholdVelocity(float t)voidsetCCDMaxPasses(int ccdMaxPasses)voidsetDominanceGroupPair(byte group1, byte group2, PxDominanceGroupPair dominance)voidsetDynamicTreeRebuildRateHint(int dynamicTreeRebuildRateHint)voidsetFilterShaderData(NativeObject data, int dataSize)voidsetFlag(int flag, boolean value)voidsetFrictionType(int frictionType)voidsetGravity(PxVec3 vec)voidsetLimits(PxSceneLimits limits)voidsetNbContactDataBlocks(int numBlocks)voidsetSceneQueryUpdateMode(int updateMode)voidsetSimulationEventCallback(PxSimulationEventCallback callback)voidsetSolverArticulationBatchSize(int solverBatchSize)voidsetSolverBatchSize(int solverBatchSize)voidsetUserData(NativeObject value)voidshiftOrigin(PxVec3 shift)voidsimulate(float elapsedTime)voidsimulate(float elapsedTime, PxBaseTask completionTask)voidsimulate(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock)voidsimulate(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize)voidsimulate(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize, boolean controlSimulation)booleansweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, PxSweepCallback hitCall)booleansweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, PxSweepCallback hitCall, PxHitFlags hitFlags)booleansweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, PxSweepCallback hitCall, PxHitFlags hitFlags, PxQueryFilterData filterData)voidunlockRead()voidunlockWrite()static PxScenewrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxScene wrapPointer(long address)
-
getUserData
public NativeObject getUserData()
- Returns:
- WebIDL type: VoidPtr
-
setUserData
public void setUserData(NativeObject value)
- Parameters:
value- WebIDL type: VoidPtr
-
addActor
public void addActor(PxActor actor, PxBVHStructure bvhStructure)
- Parameters:
actor- WebIDL type:PxActor[Ref]bvhStructure- WebIDL type:PxBVHStructure[Const]
-
removeActor
public void removeActor(PxActor actor, boolean wakeOnLostTouch)
- Parameters:
actor- WebIDL type:PxActor[Ref]wakeOnLostTouch- WebIDL type: boolean
-
addAggregate
public void addAggregate(PxAggregate aggregate)
- Parameters:
aggregate- WebIDL type:PxAggregate[Ref]
-
removeAggregate
public void removeAggregate(PxAggregate aggregate)
- Parameters:
aggregate- WebIDL type:PxAggregate[Ref]
-
removeAggregate
public void removeAggregate(PxAggregate aggregate, boolean wakeOnLostTouch)
- Parameters:
aggregate- WebIDL type:PxAggregate[Ref]wakeOnLostTouch- WebIDL type: boolean
-
getWakeCounterResetValue
public float getWakeCounterResetValue()
- Returns:
- WebIDL type: float
-
shiftOrigin
public void shiftOrigin(PxVec3 shift)
- Parameters:
shift- WebIDL type:PxVec3[Const, Ref]
-
addArticulation
public void addArticulation(PxArticulationBase articulation)
- Parameters:
articulation- WebIDL type:PxArticulationBase[Ref]
-
removeArticulation
public void removeArticulation(PxArticulationBase articulation)
- Parameters:
articulation- WebIDL type:PxArticulationBase[Ref]
-
removeArticulation
public void removeArticulation(PxArticulationBase articulation, boolean wakeOnLostTouch)
- Parameters:
articulation- WebIDL type:PxArticulationBase[Ref]wakeOnLostTouch- WebIDL type: boolean
-
getNbActors
public int getNbActors(PxActorTypeFlags types)
- Parameters:
types- WebIDL type:PxActorTypeFlags[Ref]- Returns:
- WebIDL type: unsigned long
-
getNbArticulations
public int getNbArticulations()
- Returns:
- WebIDL type: unsigned long
-
getNbConstraints
public int getNbConstraints()
- Returns:
- WebIDL type: unsigned long
-
getNbAggregates
public int getNbAggregates()
- Returns:
- WebIDL type: unsigned long
-
setDominanceGroupPair
public void setDominanceGroupPair(byte group1, byte group2, PxDominanceGroupPair dominance)- Parameters:
group1- WebIDL type: octetgroup2- WebIDL type: octetdominance- WebIDL type:PxDominanceGroupPair[Const, Ref]
-
getCpuDispatcher
public PxCpuDispatcher getCpuDispatcher()
- Returns:
- WebIDL type:
PxCpuDispatcher
-
getCudaContextManager
public PxCudaContextManager getCudaContextManager()
- Returns:
- WebIDL type:
PxCudaContextManager
-
createClient
public byte createClient()
- Returns:
- WebIDL type: octet
-
setSimulationEventCallback
public void setSimulationEventCallback(PxSimulationEventCallback callback)
- Parameters:
callback- WebIDL type:PxSimulationEventCallback
-
getSimulationEventCallback
public PxSimulationEventCallback getSimulationEventCallback()
- Returns:
- WebIDL type:
PxSimulationEventCallback
-
setFilterShaderData
public void setFilterShaderData(NativeObject data, int dataSize)
- Parameters:
data- WebIDL type: VoidPtr [Const]dataSize- WebIDL type: unsigned long
-
getFilterShaderData
public NativeObject getFilterShaderData()
- Returns:
- WebIDL type: VoidPtr [Const]
-
getFilterShaderDataSize
public int getFilterShaderDataSize()
- Returns:
- WebIDL type: unsigned long
-
getFilterShader
public PxSimulationFilterShader getFilterShader()
- Returns:
- WebIDL type:
PxSimulationFilterShader[Value]
-
resetFiltering
public void resetFiltering(PxActor actor)
- Parameters:
actor- WebIDL type:PxActor[Ref]
-
getKinematicKinematicFilteringMode
public int getKinematicKinematicFilteringMode()
- Returns:
- WebIDL type:
PxPairFilteringModeEnum[enum]
-
getStaticKinematicFilteringMode
public int getStaticKinematicFilteringMode()
- Returns:
- WebIDL type:
PxPairFilteringModeEnum[enum]
-
simulate
public void simulate(float elapsedTime)
- Parameters:
elapsedTime- WebIDL type: float
-
simulate
public void simulate(float elapsedTime, PxBaseTask completionTask)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTask
-
simulate
public void simulate(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTaskscratchMemBlock- WebIDL type: VoidPtr
-
simulate
public void simulate(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTaskscratchMemBlock- WebIDL type: VoidPtrscratchMemBlockSize- WebIDL type: unsigned long
-
simulate
public void simulate(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize, boolean controlSimulation)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTaskscratchMemBlock- WebIDL type: VoidPtrscratchMemBlockSize- WebIDL type: unsigned longcontrolSimulation- WebIDL type: boolean
-
advance
public void advance()
-
advance
public void advance(PxBaseTask completionTask)
- Parameters:
completionTask- WebIDL type:PxBaseTask
-
collide
public void collide(float elapsedTime)
- Parameters:
elapsedTime- WebIDL type: float
-
collide
public void collide(float elapsedTime, PxBaseTask completionTask)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTask
-
collide
public void collide(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTaskscratchMemBlock- WebIDL type: VoidPtr
-
collide
public void collide(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTaskscratchMemBlock- WebIDL type: VoidPtrscratchMemBlockSize- WebIDL type: unsigned long
-
collide
public void collide(float elapsedTime, PxBaseTask completionTask, NativeObject scratchMemBlock, int scratchMemBlockSize, boolean controlSimulation)- Parameters:
elapsedTime- WebIDL type: floatcompletionTask- WebIDL type:PxBaseTaskscratchMemBlock- WebIDL type: VoidPtrscratchMemBlockSize- WebIDL type: unsigned longcontrolSimulation- WebIDL type: boolean
-
checkResults
public boolean checkResults()
- Returns:
- WebIDL type: boolean
-
checkResults
public boolean checkResults(boolean block)
- Parameters:
block- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
fetchCollision
public boolean fetchCollision()
- Returns:
- WebIDL type: boolean
-
fetchCollision
public boolean fetchCollision(boolean block)
- Parameters:
block- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
fetchResults
public boolean fetchResults()
- Returns:
- WebIDL type: boolean
-
fetchResults
public boolean fetchResults(boolean block)
- Parameters:
block- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
processCallbacks
public void processCallbacks(PxBaseTask continuation)
- Parameters:
continuation- WebIDL type:PxBaseTask
-
flushSimulation
public void flushSimulation()
-
flushSimulation
public void flushSimulation(boolean sendPendingReports)
- Parameters:
sendPendingReports- WebIDL type: boolean
-
setBounceThresholdVelocity
public void setBounceThresholdVelocity(float t)
- Parameters:
t- WebIDL type: float
-
getBounceThresholdVelocity
public float getBounceThresholdVelocity()
- Returns:
- WebIDL type: float
-
setCCDMaxPasses
public void setCCDMaxPasses(int ccdMaxPasses)
- Parameters:
ccdMaxPasses- WebIDL type: unsigned long
-
getCCDMaxPasses
public int getCCDMaxPasses()
- Returns:
- WebIDL type: unsigned long
-
getFrictionOffsetThreshold
public float getFrictionOffsetThreshold()
- Returns:
- WebIDL type: float
-
setFrictionType
public void setFrictionType(int frictionType)
- Parameters:
frictionType- WebIDL type:PxFrictionTypeEnum[enum]
-
getFrictionType
public int getFrictionType()
- Returns:
- WebIDL type:
PxFrictionTypeEnum[enum]
-
getSimulationStatistics
public void getSimulationStatistics(PxSimulationStatistics stats)
- Parameters:
stats- WebIDL type:PxSimulationStatistics[Ref]
-
getStaticStructure
public int getStaticStructure()
- Returns:
- WebIDL type:
PxPruningStructureTypeEnum[enum]
-
getDynamicStructure
public int getDynamicStructure()
- Returns:
- WebIDL type:
PxPruningStructureTypeEnum[enum]
-
flushQueryUpdates
public void flushQueryUpdates()
-
createBatchQuery
public PxBatchQuery createBatchQuery(PxBatchQueryDesc desc)
- Parameters:
desc- WebIDL type:PxBatchQueryDesc[Const, Ref]- Returns:
- WebIDL type:
PxBatchQuery
-
setDynamicTreeRebuildRateHint
public void setDynamicTreeRebuildRateHint(int dynamicTreeRebuildRateHint)
- Parameters:
dynamicTreeRebuildRateHint- WebIDL type: unsigned long
-
getDynamicTreeRebuildRateHint
public int getDynamicTreeRebuildRateHint()
- Returns:
- WebIDL type: unsigned long
-
forceDynamicTreeRebuild
public void forceDynamicTreeRebuild(boolean rebuildStaticStructure, boolean rebuildDynamicStructure)- Parameters:
rebuildStaticStructure- WebIDL type: booleanrebuildDynamicStructure- WebIDL type: boolean
-
setSceneQueryUpdateMode
public void setSceneQueryUpdateMode(int updateMode)
- Parameters:
updateMode- WebIDL type:PxSceneQueryUpdateModeEnum[enum]
-
getSceneQueryUpdateMode
public int getSceneQueryUpdateMode()
- Returns:
- WebIDL type:
PxSceneQueryUpdateModeEnum[enum]
-
sceneQueriesUpdate
public void sceneQueriesUpdate()
-
sceneQueriesUpdate
public void sceneQueriesUpdate(PxBaseTask completionTask)
- Parameters:
completionTask- WebIDL type:PxBaseTask
-
sceneQueriesUpdate
public void sceneQueriesUpdate(PxBaseTask completionTask, boolean controlSimulation)
- Parameters:
completionTask- WebIDL type:PxBaseTaskcontrolSimulation- WebIDL type: boolean
-
checkQueries
public boolean checkQueries()
- Returns:
- WebIDL type: boolean
-
checkQueries
public boolean checkQueries(boolean block)
- Parameters:
block- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
fetchQueries
public boolean fetchQueries()
- Returns:
- WebIDL type: boolean
-
fetchQueries
public boolean fetchQueries(boolean block)
- Parameters:
block- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
raycast
public boolean raycast(PxVec3 origin, PxVec3 unitDir, float distance, PxRaycastCallback hitCall)
- Parameters:
origin- WebIDL type:PxVec3[Const, Ref]unitDir- WebIDL type:PxVec3[Const, Ref]distance- WebIDL type: floathitCall- WebIDL type:PxRaycastCallback[Ref]- Returns:
- WebIDL type: boolean
-
raycast
public boolean raycast(PxVec3 origin, PxVec3 unitDir, float distance, PxRaycastCallback hitCall, PxHitFlags hitFlags)
- Parameters:
origin- WebIDL type:PxVec3[Const, Ref]unitDir- WebIDL type:PxVec3[Const, Ref]distance- WebIDL type: floathitCall- WebIDL type:PxRaycastCallback[Ref]hitFlags- WebIDL type:PxHitFlags[Ref]- Returns:
- WebIDL type: boolean
-
raycast
public boolean raycast(PxVec3 origin, PxVec3 unitDir, float distance, PxRaycastCallback hitCall, PxHitFlags hitFlags, PxQueryFilterData filterData)
- Parameters:
origin- WebIDL type:PxVec3[Const, Ref]unitDir- WebIDL type:PxVec3[Const, Ref]distance- WebIDL type: floathitCall- WebIDL type:PxRaycastCallback[Ref]hitFlags- WebIDL type:PxHitFlags[Ref]filterData- WebIDL type:PxQueryFilterData[Const, Ref]- Returns:
- WebIDL type: boolean
-
sweep
public boolean sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, PxSweepCallback hitCall)
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]pose- WebIDL type:PxTransform[Const, Ref]unitDir- WebIDL type:PxVec3[Const, Ref]distance- WebIDL type: floathitCall- WebIDL type:PxSweepCallback[Ref]- Returns:
- WebIDL type: boolean
-
sweep
public boolean sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, PxSweepCallback hitCall, PxHitFlags hitFlags)
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]pose- WebIDL type:PxTransform[Const, Ref]unitDir- WebIDL type:PxVec3[Const, Ref]distance- WebIDL type: floathitCall- WebIDL type:PxSweepCallback[Ref]hitFlags- WebIDL type:PxHitFlags[Ref]- Returns:
- WebIDL type: boolean
-
sweep
public boolean sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, PxSweepCallback hitCall, PxHitFlags hitFlags, PxQueryFilterData filterData)
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]pose- WebIDL type:PxTransform[Const, Ref]unitDir- WebIDL type:PxVec3[Const, Ref]distance- WebIDL type: floathitCall- WebIDL type:PxSweepCallback[Ref]hitFlags- WebIDL type:PxHitFlags[Ref]filterData- WebIDL type:PxQueryFilterData[Const, Ref]- Returns:
- WebIDL type: boolean
-
overlap
public boolean overlap(PxGeometry geometry, PxTransform pose, PxOverlapCallback hitCall)
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]pose- WebIDL type:PxTransform[Const, Ref]hitCall- WebIDL type:PxOverlapCallback[Ref]- Returns:
- WebIDL type: boolean
-
overlap
public boolean overlap(PxGeometry geometry, PxTransform pose, PxOverlapCallback hitCall, PxQueryFilterData filterData)
- Parameters:
geometry- WebIDL type:PxGeometry[Const, Ref]pose- WebIDL type:PxTransform[Const, Ref]hitCall- WebIDL type:PxOverlapCallback[Ref]filterData- WebIDL type:PxQueryFilterData[Const, Ref]- Returns:
- WebIDL type: boolean
-
getSceneQueryStaticTimestamp
public int getSceneQueryStaticTimestamp()
- Returns:
- WebIDL type: unsigned long
-
getBroadPhaseType
public int getBroadPhaseType()
- Returns:
- WebIDL type:
PxBroadPhaseTypeEnum[enum]
-
getBroadPhaseCaps
public boolean getBroadPhaseCaps(PxBroadPhaseCaps caps)
- Parameters:
caps- WebIDL type:PxBroadPhaseCaps[Ref]- Returns:
- WebIDL type: boolean
-
getNbBroadPhaseRegions
public int getNbBroadPhaseRegions()
- Returns:
- WebIDL type: unsigned long
-
getBroadPhaseRegions
public int getBroadPhaseRegions(PxBroadPhaseRegionInfo userBuffer, int bufferSize)
- Parameters:
userBuffer- WebIDL type:PxBroadPhaseRegionInfobufferSize- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-
getBroadPhaseRegions
public int getBroadPhaseRegions(PxBroadPhaseRegionInfo userBuffer, int bufferSize, int startIndex)
- Parameters:
userBuffer- WebIDL type:PxBroadPhaseRegionInfobufferSize- WebIDL type: unsigned longstartIndex- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-
addBroadPhaseRegion
public int addBroadPhaseRegion(PxBroadPhaseRegion region)
- Parameters:
region- WebIDL type:PxBroadPhaseRegion[Const, Ref]- Returns:
- WebIDL type: unsigned long
-
addBroadPhaseRegion
public int addBroadPhaseRegion(PxBroadPhaseRegion region, boolean populateRegion)
- Parameters:
region- WebIDL type:PxBroadPhaseRegion[Const, Ref]populateRegion- WebIDL type: boolean- Returns:
- WebIDL type: unsigned long
-
removeBroadPhaseRegion
public boolean removeBroadPhaseRegion(int handle)
- Parameters:
handle- WebIDL type: unsigned long- Returns:
- WebIDL type: boolean
-
lockRead
public void lockRead()
-
lockRead
public void lockRead(java.lang.String file)
- Parameters:
file- WebIDL type: DOMString
-
lockRead
public void lockRead(java.lang.String file, int line)- Parameters:
file- WebIDL type: DOMStringline- WebIDL type: unsigned long
-
unlockRead
public void unlockRead()
-
lockWrite
public void lockWrite()
-
lockWrite
public void lockWrite(java.lang.String file)
- Parameters:
file- WebIDL type: DOMString
-
lockWrite
public void lockWrite(java.lang.String file, int line)- Parameters:
file- WebIDL type: DOMStringline- WebIDL type: unsigned long
-
unlockWrite
public void unlockWrite()
-
setNbContactDataBlocks
public void setNbContactDataBlocks(int numBlocks)
- Parameters:
numBlocks- WebIDL type: unsigned long
-
getNbContactDataBlocksUsed
public int getNbContactDataBlocksUsed()
- Returns:
- WebIDL type: unsigned long
-
getMaxNbContactDataBlocksUsed
public int getMaxNbContactDataBlocksUsed()
- Returns:
- WebIDL type: unsigned long
-
getContactReportStreamBufferSize
public int getContactReportStreamBufferSize()
- Returns:
- WebIDL type: unsigned long
-
setSolverBatchSize
public void setSolverBatchSize(int solverBatchSize)
- Parameters:
solverBatchSize- WebIDL type: unsigned long
-
getSolverBatchSize
public int getSolverBatchSize()
- Returns:
- WebIDL type: unsigned long
-
setSolverArticulationBatchSize
public void setSolverArticulationBatchSize(int solverBatchSize)
- Parameters:
solverBatchSize- WebIDL type: unsigned long
-
getSolverArticulationBatchSize
public int getSolverArticulationBatchSize()
- Returns:
- WebIDL type: unsigned long
-
release
public void release()
-
setFlag
public void setFlag(int flag, boolean value)- Parameters:
flag- WebIDL type:PxSceneFlagEnum[enum]value- WebIDL type: boolean
-
getFlags
public PxSceneFlags getFlags()
- Returns:
- WebIDL type:
PxSceneFlags[Value]
-
setLimits
public void setLimits(PxSceneLimits limits)
- Parameters:
limits- WebIDL type:PxSceneLimits[Const, Ref]
-
getLimits
public PxSceneLimits getLimits()
- Returns:
- WebIDL type:
PxSceneLimits[Value]
-
getTimestamp
public int getTimestamp()
- Returns:
- WebIDL type: unsigned long
-
-