Contents

init(engine:shapes:)

Creates an occluder with the given engine and shapes.

Declaration

init(engine: PHASEEngine, shapes: [PHASEShape])

Parameters

  • engine:

    The object that controls the app’s audio output.

  • shapes:

    A collection of shapes that defines the occluder’s overall shape.