Contents

setModelFileURL(_:for:)

Associates a URL to the given attributes.

Declaration

mutating func setModelFileURL(_ url: URL?, for attributes: [any CapturedRoomAttribute]) throws

Parameters

  • url:

    A URL to a 3D model.

  • attributes:

    An array of attributes that represents a unique combination to which to associate the URL.

Discussion

In error conditions, this function throws:

Query supportedCombinations to check the attributes that a category supports.

See Also

Managing models