one-per-user

altspace/components. one-per-user

Instantiates an entity for every user in the space using sync-system.

Example
<a-mixin id='handbox' n-skeleton-parent='part: hand; side: right' geometry='primitive: box;'></a-mixin>
<a-entity one-per-user='mixin: #handbox'></a-entity>

Extends

Members

mixin :string

A comma-separated list of mixin ids that are used to instantiate the object.

parent :string

A selector specifying which element should be the parent of the instantiated entity. Defaults to the parent node (i.e. new element becomes a sibling of this entity).