Skip to main content

Crate abstractavatar

Crate abstractavatar 

Source
Expand description

Shared procedural geometry, style identities and pose vocabulary. No UI toolkit, timers, network, audio, inference or preference ownership.

Modules§

descriptor
Strict, versioned parameter descriptor. It never embeds executable code or paths.

Structs§

Frame
Gaze
Normalized look direction (-1..1 each axis). Only gaze: "eyes" designs in Ready answer it.
RetiredStyle
A design removed from the active catalog. Its id stays reserved and resolves to replacement, or to AvatarStyle::DEFAULT when that is None.
Sample

Enums§

AvatarPose
Observed activity, supplied by the application rather than inferred here.
AvatarStyle
DesignStatus
Whether an active design may be offered to users.
Material

Constants§

GAZE_REACH
Largest eye shift a full gaze produces, in centered frame units (the frame spans -1..1): 2.5% of the frame width horizontally and 1.25% vertically. Gaze never moves anything else.
RETIRED
Every retired id, in former catalog order. catalog.json carries the same list.

Functions§

sample

Type Aliases§

Palette
Host-owned material shade ramps, packed as 0xRRGGBBAA. Rows correspond to Material::Warm, Material::Eye and Material::Dim.