Package physx.physics

Class PxSceneDesc

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxSceneDesc

        protected PxSceneDesc()
      • PxSceneDesc

        protected PxSceneDesc​(long address)
    • 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()
      • getGravity

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

        public void setGravity​(PxVec3 value)
        Parameters:
        value - WebIDL type: PxVec3 [Value]
      • 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
      • 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]
      • 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
      • setStaticStructure

        public void setStaticStructure​(int value)
        Parameters:
        value - 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
      • 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
      • getSanityBounds

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

        public void setSanityBounds​(PxBounds3 value)
        Parameters:
        value - WebIDL type: PxBounds3 [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
      • isValid

        public boolean isValid()
        Returns:
        WebIDL type: boolean