Package physx.physics
Class PxSceneDesc
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxSceneDesc
-
public class PxSceneDesc extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxSceneDesc()protectedPxSceneDesc(long address)PxSceneDesc(PxTolerancesScale scale)
-
Method Summary
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PxSceneDesc
protected PxSceneDesc()
-
PxSceneDesc
protected PxSceneDesc(long address)
-
PxSceneDesc
public PxSceneDesc(PxTolerancesScale scale)
- Parameters:
scale- WebIDL type:PxTolerancesScale[Const, Ref]
-
-
Method Detail
-
wrapPointer
public static PxSceneDesc wrapPointer(long address)
-
createAt
public static PxSceneDesc createAt(long address, PxTolerancesScale scale)
- Parameters:
address- Pre-allocated memory, where the object is created.scale- WebIDL type:PxTolerancesScale[Const, Ref]- Returns:
- Stack allocated object of PxSceneDesc
-
createAt
public static <T> PxSceneDesc createAt(T allocator, NativeObject.Allocator<T> allocate, PxTolerancesScale scale)
- 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.scale- WebIDL type:PxTolerancesScale[Const, Ref]- Returns:
- Stack allocated object of PxSceneDesc
-
destroy
public void destroy()
-
getSimulationEventCallback
public PxSimulationEventCallback getSimulationEventCallback()
- Returns:
- WebIDL type:
PxSimulationEventCallback
-
setSimulationEventCallback
public void setSimulationEventCallback(PxSimulationEventCallback value)
- Parameters:
value- WebIDL type:PxSimulationEventCallback
-
getFilterShaderData
public NativeObject getFilterShaderData()
- Returns:
- WebIDL type: VoidPtr [Const]
-
setFilterShaderData
public void setFilterShaderData(NativeObject value)
- Parameters:
value- WebIDL type: VoidPtr [Const]
-
getFilterShaderDataSize
public int getFilterShaderDataSize()
- Returns:
- WebIDL type: unsigned long
-
setFilterShaderDataSize
public void setFilterShaderDataSize(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getFilterShader
public PxSimulationFilterShader getFilterShader()
- Returns:
- WebIDL type:
PxSimulationFilterShader[Value]
-
setFilterShader
public void setFilterShader(PxSimulationFilterShader value)
- Parameters:
value- WebIDL type:PxSimulationFilterShader[Value]
-
getKineKineFilteringMode
public int getKineKineFilteringMode()
- Returns:
- WebIDL type:
PxPairFilteringModeEnum[enum]
-
setKineKineFilteringMode
public void setKineKineFilteringMode(int value)
- Parameters:
value- WebIDL type:PxPairFilteringModeEnum[enum]
-
getStaticKineFilteringMode
public int getStaticKineFilteringMode()
- Returns:
- WebIDL type:
PxPairFilteringModeEnum[enum]
-
setStaticKineFilteringMode
public void setStaticKineFilteringMode(int value)
- Parameters:
value- WebIDL type:PxPairFilteringModeEnum[enum]
-
getBroadPhaseType
public int getBroadPhaseType()
- Returns:
- WebIDL type:
PxBroadPhaseTypeEnum[enum]
-
setBroadPhaseType
public void setBroadPhaseType(int value)
- Parameters:
value- WebIDL type:PxBroadPhaseTypeEnum[enum]
-
getLimits
public PxSceneLimits getLimits()
- Returns:
- WebIDL type:
PxSceneLimits[Value]
-
setLimits
public void setLimits(PxSceneLimits value)
- Parameters:
value- WebIDL type:PxSceneLimits[Value]
-
getFrictionType
public int getFrictionType()
- Returns:
- WebIDL type:
PxFrictionTypeEnum[enum]
-
setFrictionType
public void setFrictionType(int value)
- Parameters:
value- WebIDL type:PxFrictionTypeEnum[enum]
-
getSolverType
public int getSolverType()
- Returns:
- WebIDL type:
PxSolverTypeEnum[enum]
-
setSolverType
public void setSolverType(int value)
- Parameters:
value- WebIDL type:PxSolverTypeEnum[enum]
-
getBounceThresholdVelocity
public float getBounceThresholdVelocity()
- Returns:
- WebIDL type: float
-
setBounceThresholdVelocity
public void setBounceThresholdVelocity(float value)
- Parameters:
value- WebIDL type: float
-
getFrictionOffsetThreshold
public float getFrictionOffsetThreshold()
- Returns:
- WebIDL type: float
-
setFrictionOffsetThreshold
public void setFrictionOffsetThreshold(float value)
- Parameters:
value- WebIDL type: float
-
getCcdMaxSeparation
public float getCcdMaxSeparation()
- Returns:
- WebIDL type: float
-
setCcdMaxSeparation
public void setCcdMaxSeparation(float value)
- Parameters:
value- WebIDL type: float
-
getSolverOffsetSlop
public float getSolverOffsetSlop()
- Returns:
- WebIDL type: float
-
setSolverOffsetSlop
public void setSolverOffsetSlop(float value)
- Parameters:
value- WebIDL type: float
-
getFlags
public PxSceneFlags getFlags()
- Returns:
- WebIDL type:
PxSceneFlags[Value]
-
setFlags
public void setFlags(PxSceneFlags value)
- Parameters:
value- WebIDL type:PxSceneFlags[Value]
-
getCpuDispatcher
public PxCpuDispatcher getCpuDispatcher()
- Returns:
- WebIDL type:
PxCpuDispatcher
-
setCpuDispatcher
public void setCpuDispatcher(PxCpuDispatcher value)
- Parameters:
value- WebIDL type:PxCpuDispatcher
-
getCudaContextManager
public PxCudaContextManager getCudaContextManager()
- Returns:
- WebIDL type:
PxCudaContextManager
-
setCudaContextManager
public void setCudaContextManager(PxCudaContextManager value)
- Parameters:
value- WebIDL type:PxCudaContextManager
-
getStaticStructure
public int getStaticStructure()
- Returns:
- WebIDL type:
PxPruningStructureTypeEnum[enum]
-
setStaticStructure
public void setStaticStructure(int value)
- Parameters:
value- WebIDL type:PxPruningStructureTypeEnum[enum]
-
getDynamicStructure
public int getDynamicStructure()
- Returns:
- WebIDL type:
PxPruningStructureTypeEnum[enum]
-
setDynamicStructure
public void setDynamicStructure(int value)
- Parameters:
value- WebIDL type:PxPruningStructureTypeEnum[enum]
-
getDynamicTreeRebuildRateHint
public int getDynamicTreeRebuildRateHint()
- Returns:
- WebIDL type: unsigned long
-
setDynamicTreeRebuildRateHint
public void setDynamicTreeRebuildRateHint(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getSceneQueryUpdateMode
public int getSceneQueryUpdateMode()
- Returns:
- WebIDL type:
PxSceneQueryUpdateModeEnum[enum]
-
setSceneQueryUpdateMode
public void setSceneQueryUpdateMode(int value)
- Parameters:
value- WebIDL type:PxSceneQueryUpdateModeEnum[enum]
-
getUserData
public NativeObject getUserData()
- Returns:
- WebIDL type: VoidPtr
-
setUserData
public void setUserData(NativeObject value)
- Parameters:
value- WebIDL type: VoidPtr
-
getSolverBatchSize
public int getSolverBatchSize()
- Returns:
- WebIDL type: unsigned long
-
setSolverBatchSize
public void setSolverBatchSize(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getSolverArticulationBatchSize
public int getSolverArticulationBatchSize()
- Returns:
- WebIDL type: unsigned long
-
setSolverArticulationBatchSize
public void setSolverArticulationBatchSize(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getNbContactDataBlocks
public int getNbContactDataBlocks()
- Returns:
- WebIDL type: unsigned long
-
setNbContactDataBlocks
public void setNbContactDataBlocks(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getMaxBiasCoefficient
public float getMaxBiasCoefficient()
- Returns:
- WebIDL type: float
-
setMaxBiasCoefficient
public void setMaxBiasCoefficient(float value)
- Parameters:
value- WebIDL type: float
-
getContactReportStreamBufferSize
public int getContactReportStreamBufferSize()
- Returns:
- WebIDL type: unsigned long
-
setContactReportStreamBufferSize
public void setContactReportStreamBufferSize(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getCcdMaxPasses
public int getCcdMaxPasses()
- Returns:
- WebIDL type: unsigned long
-
setCcdMaxPasses
public void setCcdMaxPasses(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getCcdThreshold
public float getCcdThreshold()
- Returns:
- WebIDL type: float
-
setCcdThreshold
public void setCcdThreshold(float value)
- Parameters:
value- WebIDL type: float
-
getWakeCounterResetValue
public float getWakeCounterResetValue()
- Returns:
- WebIDL type: float
-
setWakeCounterResetValue
public void setWakeCounterResetValue(float value)
- Parameters:
value- WebIDL type: float
-
setSanityBounds
public void setSanityBounds(PxBounds3 value)
- Parameters:
value- WebIDL type:PxBounds3[Value]
-
getGpuDynamicsConfig
public PxgDynamicsMemoryConfig getGpuDynamicsConfig()
- Returns:
- WebIDL type:
PxgDynamicsMemoryConfig[Value]
-
setGpuDynamicsConfig
public void setGpuDynamicsConfig(PxgDynamicsMemoryConfig value)
- Parameters:
value- WebIDL type:PxgDynamicsMemoryConfig[Value]
-
getGpuMaxNumPartitions
public int getGpuMaxNumPartitions()
- Returns:
- WebIDL type: unsigned long
-
setGpuMaxNumPartitions
public void setGpuMaxNumPartitions(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getGpuComputeVersion
public int getGpuComputeVersion()
- Returns:
- WebIDL type: unsigned long
-
setGpuComputeVersion
public void setGpuComputeVersion(int value)
- Parameters:
value- WebIDL type: unsigned long
-
setToDefault
public void setToDefault(PxTolerancesScale scale)
- Parameters:
scale- WebIDL type:PxTolerancesScale[Const, Ref]
-
isValid
public boolean isValid()
- Returns:
- WebIDL type: boolean
-
-