new GridVisuals()
Subsystem manage 3d chart's auxillaries, including xyz plane, xyz value line,
xyz value labels.
- Source:
Members
elems
Properties:
Name | Type | Description |
---|---|---|
elems |
object | {xyzLine, xyzPlane, axisPlane}, where |
- Source:
grid
Properties:
Name | Type | Description |
---|---|---|
grid |
CoordsGrid | grid space manager |
- Source:
Methods
strechLines(gridIx, offset) → {GridVisuals}
Set value indicating lines to position in world, with offset in world.
This method modifying the lines' vertices position buffer directly.
Parameters:
Name | Type | Description |
---|---|---|
gridIx |
array.<int> | |
offset |
array.<number> |
- Source:
Returns:
this
- Type
- GridVisuals
strechLines(gridIx, offsetopt) → {GridVisuals}
Set value indicating lines to grid, with offset in value range (befor scale to world).
This method modifying the lines' vertices position buffer directly.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
gridIx |
array.<int> | |||
offset |
array.<number> |
<optional> |
[0, 0, 0] |
- Source:
Returns:
this
- Type
- GridVisuals
update(tick, entites)
Parameters:
Name | Type | Description |
---|---|---|
tick |
int | |
entites |
array.<Entity> |
- Source:
visuals(ecs, options, json)
Generate chart visual elements.
Parameters:
Name | Type | Description |
---|---|---|
ecs |
ECS | |
options |
object | |
json |
object |
- Source: