lookingAt(_:)
Creates a direction that orients the participant to face the specified point in the shared coordinate space.
Declaration
static func lookingAt(_ position: SpatialTemplateElementPosition) -> SpatialTemplateElementDirectionParameters
- position:
A location in the shared coordinate space. Specify positions as an offset from the app’s content using the Spatialtemplateelementposition type.
Return Value
A direction type that faces the specified position in the coordinate space.