ISnapInteractable Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interactables that represent a handle-like affordance should implement this interface, such that interactors can snap their visuals/ray/etc directly to the affordance instead of using the typical local offset.
C#
public interface ISnapInteractable
type ISnapInteractable = interface
Public Interface ISnapInteractable
- Derived
Handle |
Called by interactors to query which exact transform on an interactable should be considered the snappable affordance. |
منتج | الإصدارات |
---|---|
MRTK3 Core Definitions | 3.0, 3.1, 3.2 |