Package physx.physics

Class PxSceneDesc

java.lang.Object
physx.NativeObject
physx.physics.PxSceneDesc

public class PxSceneDesc extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxSceneDesc

      protected PxSceneDesc()
    • PxSceneDesc

      protected PxSceneDesc(long address)
    • PxSceneDesc

      public PxSceneDesc(PxTolerancesScale scale)
      Parameters:
      scale - WebIDL type: PxTolerancesScale [Const, Ref]
  • Method Details

    • wrapPointer

      public static PxSceneDesc wrapPointer(long address)
    • arrayGet

      public static PxSceneDesc arrayGet(long baseAddress, int index)
    • 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()
    • getGravity

      public PxVec3 getGravity()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setGravity

      public void setGravity(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • 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 PxPairFilteringModeEnum getKineKineFilteringMode()
      Returns:
      WebIDL type: PxPairFilteringModeEnum [enum]
    • setKineKineFilteringMode

      public void setKineKineFilteringMode(PxPairFilteringModeEnum value)
      Parameters:
      value - WebIDL type: PxPairFilteringModeEnum [enum]
    • getStaticKineFilteringMode

      public PxPairFilteringModeEnum getStaticKineFilteringMode()
      Returns:
      WebIDL type: PxPairFilteringModeEnum [enum]
    • setStaticKineFilteringMode

      public void setStaticKineFilteringMode(PxPairFilteringModeEnum value)
      Parameters:
      value - WebIDL type: PxPairFilteringModeEnum [enum]
    • getBroadPhaseType

      public PxBroadPhaseTypeEnum getBroadPhaseType()
      Returns:
      WebIDL type: PxBroadPhaseTypeEnum [enum]
    • setBroadPhaseType

      public void setBroadPhaseType(PxBroadPhaseTypeEnum 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 PxFrictionTypeEnum getFrictionType()
      Returns:
      WebIDL type: PxFrictionTypeEnum [enum]
    • setFrictionType

      public void setFrictionType(PxFrictionTypeEnum value)
      Parameters:
      value - WebIDL type: PxFrictionTypeEnum [enum]
    • getSolverType

      public PxSolverTypeEnum getSolverType()
      Returns:
      WebIDL type: PxSolverTypeEnum [enum]
    • setSolverType

      public void setSolverType(PxSolverTypeEnum 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
    • getFrictionCorrelationDistance

      public float getFrictionCorrelationDistance()
      Returns:
      WebIDL type: float
    • setFrictionCorrelationDistance

      public void setFrictionCorrelationDistance(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 [Platforms=windows;linux]
    • setCudaContextManager

      public void setCudaContextManager(PxCudaContextManager value)
      Parameters:
      value - WebIDL type: PxCudaContextManager [Platforms=windows;linux]
    • 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
    • getMaxNbContactDataBlocks

      public int getMaxNbContactDataBlocks()
      Returns:
      WebIDL type: unsigned long
    • setMaxNbContactDataBlocks

      public void setMaxNbContactDataBlocks(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
    • getCcdMaxSeparation

      public float getCcdMaxSeparation()
      Returns:
      WebIDL type: float
    • setCcdMaxSeparation

      public void setCcdMaxSeparation(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
    • getSanityBounds

      public PxBounds3 getSanityBounds()
      Returns:
      WebIDL type: PxBounds3 [Value]
    • setSanityBounds

      public void setSanityBounds(PxBounds3 value)
      Parameters:
      value - WebIDL type: PxBounds3 [Value]
    • getGpuDynamicsConfig

      public PxgDynamicsMemoryConfig getGpuDynamicsConfig()
      Returns:
      WebIDL type: PxgDynamicsMemoryConfig [Platforms=windows;linux, Value]
    • setGpuDynamicsConfig

      public void setGpuDynamicsConfig(PxgDynamicsMemoryConfig value)
      Parameters:
      value - WebIDL type: PxgDynamicsMemoryConfig [Platforms=windows;linux, Value]
    • getGpuMaxNumPartitions

      public int getGpuMaxNumPartitions()
      Returns:
      WebIDL type: unsigned long
    • setGpuMaxNumPartitions

      public void setGpuMaxNumPartitions(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getGpuMaxNumStaticPartitions

      public int getGpuMaxNumStaticPartitions()
      Returns:
      WebIDL type: unsigned long
    • setGpuMaxNumStaticPartitions

      public void setGpuMaxNumStaticPartitions(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
    • getContactPairSlabSize

      public int getContactPairSlabSize()
      Returns:
      WebIDL type: unsigned long
    • setContactPairSlabSize

      public void setContactPairSlabSize(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getStaticStructure

      public PxPruningStructureTypeEnum getStaticStructure()
      Returns:
      WebIDL type: PxPruningStructureTypeEnum [enum]
    • setStaticStructure

      public void setStaticStructure(PxPruningStructureTypeEnum value)
      Parameters:
      value - WebIDL type: PxPruningStructureTypeEnum [enum]
    • getDynamicStructure

      public PxPruningStructureTypeEnum getDynamicStructure()
      Returns:
      WebIDL type: PxPruningStructureTypeEnum [enum]
    • setDynamicStructure

      public void setDynamicStructure(PxPruningStructureTypeEnum 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
    • getDynamicTreeSecondaryPruner

      public PxDynamicTreeSecondaryPrunerEnum getDynamicTreeSecondaryPruner()
      Returns:
      WebIDL type: PxDynamicTreeSecondaryPrunerEnum [enum]
    • setDynamicTreeSecondaryPruner

      public void setDynamicTreeSecondaryPruner(PxDynamicTreeSecondaryPrunerEnum value)
      Parameters:
      value - WebIDL type: PxDynamicTreeSecondaryPrunerEnum [enum]
    • getStaticBVHBuildStrategy

      public PxBVHBuildStrategyEnum getStaticBVHBuildStrategy()
      Returns:
      WebIDL type: PxBVHBuildStrategyEnum [enum]
    • setStaticBVHBuildStrategy

      public void setStaticBVHBuildStrategy(PxBVHBuildStrategyEnum value)
      Parameters:
      value - WebIDL type: PxBVHBuildStrategyEnum [enum]
    • getDynamicBVHBuildStrategy

      public PxBVHBuildStrategyEnum getDynamicBVHBuildStrategy()
      Returns:
      WebIDL type: PxBVHBuildStrategyEnum [enum]
    • setDynamicBVHBuildStrategy

      public void setDynamicBVHBuildStrategy(PxBVHBuildStrategyEnum value)
      Parameters:
      value - WebIDL type: PxBVHBuildStrategyEnum [enum]
    • getStaticNbObjectsPerNode

      public int getStaticNbObjectsPerNode()
      Returns:
      WebIDL type: unsigned long
    • setStaticNbObjectsPerNode

      public void setStaticNbObjectsPerNode(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getDynamicNbObjectsPerNode

      public int getDynamicNbObjectsPerNode()
      Returns:
      WebIDL type: unsigned long
    • setDynamicNbObjectsPerNode

      public void setDynamicNbObjectsPerNode(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getSceneQueryUpdateMode

      public PxSceneQueryUpdateModeEnum getSceneQueryUpdateMode()
      Returns:
      WebIDL type: PxSceneQueryUpdateModeEnum [enum]
    • setSceneQueryUpdateMode

      public void setSceneQueryUpdateMode(PxSceneQueryUpdateModeEnum value)
      Parameters:
      value - WebIDL type: PxSceneQueryUpdateModeEnum [enum]
    • setToDefault

      public void setToDefault(PxTolerancesScale scale)
      Parameters:
      scale - WebIDL type: PxTolerancesScale [Const, Ref]
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean