SelectionVisualizerStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
SelectionVisualizeris an interface used to provide visual feedback when aBaseTransformableNodeis selected in Sceneform.
It offers two main methods:applySelectionVisualto add a visual indicator when a node is selected, andremoveSelectionVisualto remove the indicator when the node is no longer selected.
A known subclass,FootprintSelectionVisualizer, provides a concrete implementation by rendering a footprint beneath the selected node.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[],["The `SelectionVisualizer` interface manages the visual representation of a selected `BaseTransformableNode`. It provides two key actions: `applySelectionVisual` and `removeSelectionVisual`. `applySelectionVisual` adds a visual cue to signify that a given `BaseTransformableNode` is selected. Conversely, `removeSelectionVisual` removes the selection indicator from a node. `FootprintSelectionVisualizer`, a subclass, specifically renders a footprint to indicate node selection.\n"]]