@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / HandMaterialOptions
Type Alias: HandMaterialOptions ​
ts
type HandMaterialOptions = {
color: string;
opacity: number;
emissiveIntensity: number;
};Defined in: xr/handPresets.ts:13
Materials for tracked-hand meshes.
three's XRHandModelFactory builds the joint geometry but gives it a plain default material, so hands look identical in every experience. These presets let an author pick a look in one click, with custom deferring entirely to the colour/opacity/emissive fields.
Properties ​
| Property | Type | Defined in |
|---|---|---|
color | string | xr/handPresets.ts:14 |
opacity | number | xr/handPresets.ts:15 |
emissiveIntensity | number | xr/handPresets.ts:16 |

