SpatialTrajectoryData

public struct SpatialTrajectoryData : Hashable

This struct provides all the information regarding an angular panning element, including the panning angle and whether or not it is the last element on the spatial audio trajectory.

  • The next azimuth value to be set on a spatial audio engine.

    Declaration

    Swift

    public var azimuthInDegrees: Double
  • Indicates whether is the last element of the current spatial audio trajectory or not.

    Declaration

    Swift

    public var completedSpatialTrajectory: Bool
  • Creates a new instance.

    Declaration

    Swift

    public init(azimuthInDegrees: Double, completedSpatialTrajectory: Bool)