class VRAnchor : Component

book_4_sparkGenerated
code_blocksInput

Description

The VRAnchor class in the Sandbox.VR namespace is a component that updates the VR anchor based on a GameObject's transform. It is part of the VR category and is represented by an anchor icon in the editor. This class is not abstract and can be instantiated directly.

Members

Instance Members

Member NameSummary
TransformGets or sets the transform of the VR anchor.
UpdateAnchorUpdates the VR anchor position and rotation based on the associated GameObject's transform.