anchor method

Self anchor(
  1. DVAnchor anchor
)

Pins this node to something in the real world. Where the target cannot honour anchor -- every target that is not presenting the scene in space -- the node stays at the scene origin and DV-XR-002 says so.

Implementation

Self anchor(DVAnchor anchor) => _copy(_props.copyWith(anchor: anchor)) as Self;