SelectionVisualizer

  • SelectionVisualizer is an interface used to provide visual feedback when a BaseTransformableNode is selected in Sceneform.

  • It offers two main methods: applySelectionVisual to add a visual indicator when a node is selected, and removeSelectionVisual to 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.

public interface SelectionVisualizer
Known Indirect Subclasses
Visualizes that a BaseTransformableNode is selected by rendering a footprint for the selected node. 

Interface to visual when a BaseTransformableNode is selected.

Public Methods

abstract void
applySelectionVisual ( BaseTransformableNode node)
Adds a visual that indicates a BaseTransformableNode is currently selected.
abstract void
removeSelectionVisual ( BaseTransformableNode node)
Removes the visual that was indicating a BaseTransformableNode is currently selected.

Public Methods

public abstract void applySelectionVisual ( BaseTransformableNode node)

Adds a visual that indicates a BaseTransformableNode is currently selected.

Parameters
node

public abstract void removeSelectionVisual ( BaseTransformableNode node)

Removes the visual that was indicating a BaseTransformableNode is currently selected.

Parameters
node
Design a Mobile Site
View Site in Mobile | Classic
Share by: