Megosztás a következőn keresztül:


SpongyAnchorVisual Class

Definition

Component for controlling location, visual appearance and ID text of a spongy anchor visualization.

public class SpongyAnchorVisual : UnityEngine.MonoBehaviour
type SpongyAnchorVisual = class
    inherit MonoBehaviour
Public Class SpongyAnchorVisual
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
SpongyAnchorVisual

Remarks

Spongy anchors are visualized by a concentric pair of an outer ring and an inner disc The outer ring of fixed size indicates the state of the spatial anchor by its color:

green: support(area of inner circle indicating relevance) red: support with zero relevance yellow: not a support gray: anchor not located(i.e.currently not part of spongy world)

The inner disc indicates the relevance of the spongy anchor (0..100%) by its area.

Constructors

SpongyAnchorVisual()

Methods

Instantiate(FrameVisual, SpongyAnchor)

Create a visualizer for a spongy anchor.

SetNoSupport()

Declare as not being a support.

SetSupportRelevance(Single)

Set the relevance, which sets the color.

Applies to