SwiftinitRealityFoundationRealityKit.PhysicsBodyComponent
init
RealityKit.PhysicsBodyComponent.init(shapes: [RealityKit.ShapeResource], mass: Float, material: RealityKit.PhysicsMaterialResource?, mode: RealityKit.PhysicsBodyMode) -> RealityKit.PhysicsBodyComponent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0shapes:structSwift.Array
- 1mass:structSwift.Float
- 2material:enumSwift.Optional
- 3mode: