useEntityRef
useEntityRef(
entity): (object) =>void
A ref callback that holds a view’s object as its entity’s placement,
its RefTrait, while it is mounted: what the camera follows and the
devtools pick. A presentation verb: a room’s world, which draws
nothing, refuses it as the object attaches, throwing in development
and logging once in a deployed room.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
Returns
Section titled “Returns”(object) => void