⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

SpatialEntity.TryGetName

bool TryGetName(String& name)

The name this anchor was given by CreateAnchor, or by the Anchor class. Persisted anchors get their name back when they load in a later session, however they were found, so this is a good way to tell restored anchors apart.

   
String& name The anchor’s name, null if it has none.
RETURNS: bool False if this entity has no name.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!