A plain 3D coordinate shape: { x, y, z } with no methods.
Remarks
This is the type to use for data that is serialized — sent through emitNet,
written to a state bag, or stored — because serialization strips class
prototypes, so a Vector3 arrives on the other side as a plain object
anyway. Re-wrap with Vector3.from if you need the methods back.
A plain 3D coordinate shape:
{ x, y, z }with no methods.Remarks
This is the type to use for data that is serialized — sent through
emitNet, written to a state bag, or stored — because serialization strips class prototypes, so a Vector3 arrives on the other side as a plain object anyway. Re-wrap with Vector3.from if you need the methods back.