One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PhysicsBodyParameterTypes

struct · iOS 18.0+ · SDK 27.1

struct PhysicsBodyParameterTypes

Defines which rigid body inputs are required by a force effect's update handler.

Members (9)

get · iOS 18.0+

orientation

TypeScript
get orientation(): PhysicsBodyParameterTypes
Swift declaration
static let orientation: PhysicsBodyParameterTypes

The orientation of each rigid body relative to the effect orientation.

get · iOS 18.0+

inertiaTensor

TypeScript
get inertiaTensor(): PhysicsBodyParameterTypes
Swift declaration
static let inertiaTensor: PhysicsBodyParameterTypes

The inertia tensor of each rigid body.

get · iOS 18.0+

angularVelocity

TypeScript
get angularVelocity(): PhysicsBodyParameterTypes
Swift declaration
static let angularVelocity: PhysicsBodyParameterTypes

The angular velocity of each rigid body.

get · iOS 18.0+

mass

TypeScript
get mass(): PhysicsBodyParameterTypes
Swift declaration
static let mass: PhysicsBodyParameterTypes

The mass of each rigid body,

get · iOS 18.0+

distance

TypeScript
get distance(): PhysicsBodyParameterTypes
Swift declaration
static let distance: PhysicsBodyParameterTypes

The distance of each rigid body from the effect origin.

get · iOS 18.0+

position

TypeScript
get position(): PhysicsBodyParameterTypes
Swift declaration
static let position: PhysicsBodyParameterTypes

The center of mass of each rigid body relative to the effect origin.

init · iOS 18.0+

init

TypeScript
init(rawValue: number): PhysicsBodyParameterTypes
Swift declaration
init(rawValue: UInt32)

- Parameters: - rawValue: The backing data value for force effect inputs.

get · iOS 18.0+

rawValue

TypeScript
getRawValue($self: PhysicsBodyParameterTypes): number
Swift declaration
let rawValue: UInt32

The backing storage for force effect inputs.

get · iOS 18.0+

velocity

TypeScript
get velocity(): PhysicsBodyParameterTypes
Swift declaration
static let velocity: PhysicsBodyParameterTypes

The linear velocity of each rigid body.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →