Package pro.streem.ar.sceneform.ux
Class FootprintSelectionVisualizer
- java.lang.Object
-
- pro.streem.ar.sceneform.ux.FootprintSelectionVisualizer
-
- All Implemented Interfaces:
SelectionVisualizer
public class FootprintSelectionVisualizer extends java.lang.Object implements SelectionVisualizer
Visualizes that aBaseTransformableNodeis selected by rendering a footprint for the selected node.
-
-
Constructor Summary
Constructors Constructor Description FootprintSelectionVisualizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplySelectionVisual(BaseTransformableNode node)Adds a visual that indicates aBaseTransformableNodeis currently selected.pro.streem.ar.sceneform.rendering.ModelRenderablegetFootprintRenderable()voidremoveSelectionVisual(BaseTransformableNode node)Removes the visual that was indicating aBaseTransformableNodeis currently selected.voidsetFootprintRenderable(pro.streem.ar.sceneform.rendering.ModelRenderable renderable)
-
-
-
Method Detail
-
setFootprintRenderable
public void setFootprintRenderable(pro.streem.ar.sceneform.rendering.ModelRenderable renderable)
-
getFootprintRenderable
@Nullable public pro.streem.ar.sceneform.rendering.ModelRenderable getFootprintRenderable()
-
applySelectionVisual
public void applySelectionVisual(BaseTransformableNode node)
Description copied from interface:SelectionVisualizerAdds a visual that indicates aBaseTransformableNodeis currently selected.- Specified by:
applySelectionVisualin interfaceSelectionVisualizer
-
removeSelectionVisual
public void removeSelectionVisual(BaseTransformableNode node)
Description copied from interface:SelectionVisualizerRemoves the visual that was indicating aBaseTransformableNodeis currently selected.- Specified by:
removeSelectionVisualin interfaceSelectionVisualizer
-
-