LinkElement
LinkElement represents an interactive hyperlink element within the scene.
Used to direct users to external resources, websites, or internal navigation targets. Supports optional network synchronization for multi-user environments.
href: string
The destination URL or URI that this link points to.
Should be a valid HTTP(S) URL or custom scheme recognized by the environment.
Example:
const linkElement = new LinkElement();
linkElement.href = 'https://example.com';
scene.add(linkElement);
networkable: boolean
Indicates whether link interactions should be propagated and synchronized across networked clients.
Useful in collaborative or multiplayer scenarios where navigation state is shared.
Example:
linkElement.networkable = true;