@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / HandWorldOptions
Type Alias: HandWorldOptions ​
ts
type HandWorldOptions = {
unitsPerMetre?: number;
depth?: () => number | null;
};Defined in: hands/tracker.ts:46
How hands sit in the world.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
unitsPerMetre? | number | World units in a metre, when the world has real sizes. A face project's world is in centimetres, so 100. Then a hand's depth comes from its size in the picture. | hands/tracker.ts:52 |
depth? | () => number | null | How far from the camera to put a hand when the world has no real size, as in image tracking. Return null for no idea, and the last answer stands. | hands/tracker.ts:57 |

