Struct physx_sys::PxSceneDesc
source · #[repr(C)]pub struct PxSceneDesc {Show 45 fields
pub gravity: PxVec3,
pub structgen_pad0: [u8; 4],
pub simulationEventCallback: *mut PxSimulationEventCallback,
pub contactModifyCallback: *mut PxContactModifyCallback,
pub ccdContactModifyCallback: *mut PxCCDContactModifyCallback,
pub filterShaderData: *const c_void,
pub filterShaderDataSize: u32,
pub structgen_pad1: [u8; 4],
pub filterShader: *mut c_void,
pub filterCallback: *mut PxSimulationFilterCallback,
pub kineKineFilteringMode: u32,
pub staticKineFilteringMode: u32,
pub broadPhaseType: u32,
pub structgen_pad2: [u8; 4],
pub broadPhaseCallback: *mut PxBroadPhaseCallback,
pub limits: PxSceneLimits,
pub frictionType: u32,
pub solverType: u32,
pub bounceThresholdVelocity: f32,
pub frictionOffsetThreshold: f32,
pub ccdMaxSeparation: f32,
pub solverOffsetSlop: f32,
pub flags: PxSceneFlags,
pub structgen_pad3: [u8; 4],
pub cpuDispatcher: *mut PxCpuDispatcher,
pub cudaContextManager: *mut PxCudaContextManager,
pub staticStructure: u32,
pub dynamicStructure: u32,
pub dynamicTreeRebuildRateHint: u32,
pub sceneQueryUpdateMode: u32,
pub userData: *mut c_void,
pub solverBatchSize: u32,
pub solverArticulationBatchSize: u32,
pub nbContactDataBlocks: u32,
pub maxNbContactDataBlocks: u32,
pub maxBiasCoefficient: f32,
pub contactReportStreamBufferSize: u32,
pub ccdMaxPasses: u32,
pub ccdThreshold: f32,
pub wakeCounterResetValue: f32,
pub sanityBounds: PxBounds3,
pub gpuDynamicsConfig: PxgDynamicsMemoryConfig,
pub gpuMaxNumPartitions: u32,
pub gpuComputeVersion: u32,
pub structgen_pad4: [u8; 12],
}
Fields§
§gravity: PxVec3
§structgen_pad0: [u8; 4]
§simulationEventCallback: *mut PxSimulationEventCallback
§contactModifyCallback: *mut PxContactModifyCallback
§ccdContactModifyCallback: *mut PxCCDContactModifyCallback
§filterShaderData: *const c_void
§filterShaderDataSize: u32
§structgen_pad1: [u8; 4]
§filterShader: *mut c_void
§filterCallback: *mut PxSimulationFilterCallback
§kineKineFilteringMode: u32
§staticKineFilteringMode: u32
§broadPhaseType: u32
§structgen_pad2: [u8; 4]
§broadPhaseCallback: *mut PxBroadPhaseCallback
§limits: PxSceneLimits
§frictionType: u32
§solverType: u32
§bounceThresholdVelocity: f32
§frictionOffsetThreshold: f32
§ccdMaxSeparation: f32
§solverOffsetSlop: f32
§flags: PxSceneFlags
§structgen_pad3: [u8; 4]
§cpuDispatcher: *mut PxCpuDispatcher
§cudaContextManager: *mut PxCudaContextManager
§staticStructure: u32
§dynamicStructure: u32
§dynamicTreeRebuildRateHint: u32
§sceneQueryUpdateMode: u32
§userData: *mut c_void
§solverBatchSize: u32
§solverArticulationBatchSize: u32
§nbContactDataBlocks: u32
§maxNbContactDataBlocks: u32
§maxBiasCoefficient: f32
§contactReportStreamBufferSize: u32
§ccdMaxPasses: u32
§ccdThreshold: f32
§wakeCounterResetValue: f32
§sanityBounds: PxBounds3
§gpuDynamicsConfig: PxgDynamicsMemoryConfig
§gpuMaxNumPartitions: u32
§gpuComputeVersion: u32
§structgen_pad4: [u8; 12]
Trait Implementations§
source§impl Clone for PxSceneDesc
impl Clone for PxSceneDesc
source§fn clone(&self) -> PxSceneDesc
fn clone(&self) -> PxSceneDesc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more