pub unsafe extern "C" fn PxScene_addAggregate_mut(
    self_: *mut PxScene,
    aggregate: *mut PxAggregate
) -> bool
Expand description

Adds an aggregate to this scene.

If the aggregate is already assigned to a scene (see [PxAggregate::getScene]), the call is ignored and an error is issued.

If the aggregate contains an actor with an invalid constraint, in checked builds the call is ignored and an error is issued.

If the aggregate already contains actors, those actors are added to the scene as well.

True if success