canPrevent
TypeScriptcanPrevent(preventedGestureRecognizer: _UIKit_UIGestureRecognizer): Promise<boolean>Swift declaration@MainActor @preconcurrency override dynamic func canPrevent(_ preventedGestureRecognizer: UIGestureRecognizer) -> Boolclass · iOS 13.0+ · SDK 27.1
@MainActor @objc @preconcurrency class EntityRotationGestureRecognizerA gesture recognizer that uses rotation gestures involving two touches to rotate a given entity.
canPrevent(preventedGestureRecognizer: _UIKit_UIGestureRecognizer): Promise<boolean>Swift declaration@MainActor @preconcurrency override dynamic func canPrevent(_ preventedGestureRecognizer: UIGestureRecognizer) -> BooltouchesBegan(touches: Array<_UIKit_UITouch>, event: _UIKit_UIEvent): Promise<void>Swift declaration@MainActor @preconcurrency override dynamic func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent)Sent to the gesture recognizer when one or more fingers touch down on the associated entity. - Parameters: - touches: A set of `UITouch` instances in the event represented by `event` that represent the touches in the `UITouch.Phase.began` phase. - event: A `UIEvent` object representing the event to which the touches belong.
get entity(): Promise<(SDKHandle) | null>Swift declaration@MainActor @preconcurrency var entity: (any HasCollision)? { get set }The entity the receiver is associated with
setEntity(value?: (Implements<_RealityFoundation_HasCollision> | SDKHandle) | null): Promise<void>Swift declaration@MainActor @preconcurrency var entity: (any HasCollision)? { get set }The entity the receiver is associated with
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
EntityRotationGestureRecognizer.init(target:action:)
Objective-C selectors cannot cross the bridge.