Skip to content

RefValue beta ​

Interface of @v12-engine/client

ts
export interface RefValue

What a ref is: an entity, a point of the map, a view, or a value of a param's

Members ​

entity ​

ts
entity?: number;

The entity this ref resolved to, as an id; left out when the ref is not an entity

point ​

ts
point?: Vec2;

The map point this ref resolved to, on the x and z plane; left out when the ref is not a point

pose ​

ts
pose?: CameraPose;

The camera pose this ref resolved to; left out when the ref is not a view

value ​

ts
value?: unknown;

The value of the param this ref resolved to, of whatever type the param holds; left out otherwise