Contents

supportsCombination(_:)

Returns a Boolean value that indicates whether a category supports the given attribute combination.

Declaration

func supportsCombination(_ attributes: [any CapturedRoomAttribute]) -> Bool

Parameters

  • attributes:

    An array of attributes to check whether the object supports them.

Discussion

Only compatible attributes can pair up in association with a 3D model, for example, with the CapturedRoom.ModelProvider function setModelFileURL(_:for:). These CapturedRoom.ModelProvider functions for setModelFileURL and modelFileURL throw CapturedRoom.ModelProvider.Error.attributeCombinationNotSupported if no object category supports all of the attributes in the arguments to their call.

See Also

Determining supported attributes