Page Summary
-
FootprintSelectionVisualizerprovides a visual cue, typically a footprint, to indicate that aBaseTransformableNodeis selected in a Sceneform scene. -
It uses a
ModelRenderableto represent the footprint, which can be customized usingsetFootprintRenderable. -
applySelectionVisualandremoveSelectionVisualmethods control the display of the footprint on the selected node. -
This class helps users visually identify which node is currently selected for interaction or manipulation.
Visualizes that a BaseTransformableNode is selected by rendering a footprint for the
selected node.
Public Constructors
Public Methods
| void |
applySelectionVisual(BaseTransformableNode node)
Adds a visual that indicates a
BaseTransformableNode is currently selected. |
| ModelRenderable | |
| void |
removeSelectionVisual(BaseTransformableNode node)
Removes the visual that was indicating a
BaseTransformableNode is currently selected. |
| void |
setFootprintRenderable(ModelRenderable renderable)
|
Inherited Methods
Public Constructors
public FootprintSelectionVisualizer ()
Public Methods
public void applySelectionVisual (BaseTransformableNode node)
Adds a visual that indicates a BaseTransformableNode is currently selected.
Parameters
| node |
|---|
public void removeSelectionVisual (BaseTransformableNode node)
Removes the visual that was indicating a BaseTransformableNode is currently selected.
Parameters
| node |
|---|