public class PxSceneDesc extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxSceneDesc() |
protected |
PxSceneDesc(long address) |
|
PxSceneDesc(PxTolerancesScale scale) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxSceneDesc()
protected PxSceneDesc(long address)
public PxSceneDesc(PxTolerancesScale scale)
scale - WebIDL type: PxTolerancesScale [Const, Ref]public static PxSceneDesc wrapPointer(long address)
public static PxSceneDesc createAt(long address, PxTolerancesScale scale)
address - Pre-allocated memory, where the object is created.scale - WebIDL type: PxTolerancesScale [Const, Ref]public static <T> PxSceneDesc createAt(T allocator, NativeObject.Allocator<T> allocate, PxTolerancesScale scale)
T - Allocator class, e.g. LWJGL's MemoryStack.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]public void destroy()
public PxSimulationEventCallback getSimulationEventCallback()
PxSimulationEventCallbackpublic void setSimulationEventCallback(PxSimulationEventCallback value)
value - WebIDL type: PxSimulationEventCallbackpublic NativeObject getFilterShaderData()
public void setFilterShaderData(NativeObject value)
value - WebIDL type: VoidPtr [Const]public int getFilterShaderDataSize()
public void setFilterShaderDataSize(int value)
value - WebIDL type: unsigned longpublic PxSimulationFilterShader getFilterShader()
PxSimulationFilterShader [Value]public void setFilterShader(PxSimulationFilterShader value)
value - WebIDL type: PxSimulationFilterShader [Value]public int getKineKineFilteringMode()
PxPairFilteringModeEnum [enum]public void setKineKineFilteringMode(int value)
value - WebIDL type: PxPairFilteringModeEnum [enum]public int getStaticKineFilteringMode()
PxPairFilteringModeEnum [enum]public void setStaticKineFilteringMode(int value)
value - WebIDL type: PxPairFilteringModeEnum [enum]public int getBroadPhaseType()
PxBroadPhaseTypeEnum [enum]public void setBroadPhaseType(int value)
value - WebIDL type: PxBroadPhaseTypeEnum [enum]public PxSceneLimits getLimits()
PxSceneLimits [Value]public void setLimits(PxSceneLimits value)
value - WebIDL type: PxSceneLimits [Value]public int getFrictionType()
PxFrictionTypeEnum [enum]public void setFrictionType(int value)
value - WebIDL type: PxFrictionTypeEnum [enum]public int getSolverType()
PxSolverTypeEnum [enum]public void setSolverType(int value)
value - WebIDL type: PxSolverTypeEnum [enum]public float getBounceThresholdVelocity()
public void setBounceThresholdVelocity(float value)
value - WebIDL type: floatpublic float getFrictionOffsetThreshold()
public void setFrictionOffsetThreshold(float value)
value - WebIDL type: floatpublic float getCcdMaxSeparation()
public void setCcdMaxSeparation(float value)
value - WebIDL type: floatpublic float getSolverOffsetSlop()
public void setSolverOffsetSlop(float value)
value - WebIDL type: floatpublic PxSceneFlags getFlags()
PxSceneFlags [Value]public void setFlags(PxSceneFlags value)
value - WebIDL type: PxSceneFlags [Value]public PxCpuDispatcher getCpuDispatcher()
PxCpuDispatcherpublic void setCpuDispatcher(PxCpuDispatcher value)
value - WebIDL type: PxCpuDispatcherpublic PxCudaContextManager getCudaContextManager()
PxCudaContextManagerpublic void setCudaContextManager(PxCudaContextManager value)
value - WebIDL type: PxCudaContextManagerpublic int getStaticStructure()
PxPruningStructureTypeEnum [enum]public void setStaticStructure(int value)
value - WebIDL type: PxPruningStructureTypeEnum [enum]public int getDynamicStructure()
PxPruningStructureTypeEnum [enum]public void setDynamicStructure(int value)
value - WebIDL type: PxPruningStructureTypeEnum [enum]public int getDynamicTreeRebuildRateHint()
public void setDynamicTreeRebuildRateHint(int value)
value - WebIDL type: unsigned longpublic int getSceneQueryUpdateMode()
PxSceneQueryUpdateModeEnum [enum]public void setSceneQueryUpdateMode(int value)
value - WebIDL type: PxSceneQueryUpdateModeEnum [enum]public NativeObject getUserData()
public void setUserData(NativeObject value)
value - WebIDL type: VoidPtrpublic int getSolverBatchSize()
public void setSolverBatchSize(int value)
value - WebIDL type: unsigned longpublic int getSolverArticulationBatchSize()
public void setSolverArticulationBatchSize(int value)
value - WebIDL type: unsigned longpublic int getNbContactDataBlocks()
public void setNbContactDataBlocks(int value)
value - WebIDL type: unsigned longpublic float getMaxBiasCoefficient()
public void setMaxBiasCoefficient(float value)
value - WebIDL type: floatpublic int getContactReportStreamBufferSize()
public void setContactReportStreamBufferSize(int value)
value - WebIDL type: unsigned longpublic int getCcdMaxPasses()
public void setCcdMaxPasses(int value)
value - WebIDL type: unsigned longpublic float getCcdThreshold()
public void setCcdThreshold(float value)
value - WebIDL type: floatpublic float getWakeCounterResetValue()
public void setWakeCounterResetValue(float value)
value - WebIDL type: floatpublic void setSanityBounds(PxBounds3 value)
value - WebIDL type: PxBounds3 [Value]public PxgDynamicsMemoryConfig getGpuDynamicsConfig()
PxgDynamicsMemoryConfig [Value]public void setGpuDynamicsConfig(PxgDynamicsMemoryConfig value)
value - WebIDL type: PxgDynamicsMemoryConfig [Value]public int getGpuMaxNumPartitions()
public void setGpuMaxNumPartitions(int value)
value - WebIDL type: unsigned longpublic int getGpuComputeVersion()
public void setGpuComputeVersion(int value)
value - WebIDL type: unsigned longpublic void setToDefault(PxTolerancesScale scale)
scale - WebIDL type: PxTolerancesScale [Const, Ref]public boolean isValid()