FTE's model builtins: model numbers by name and names by number; a studio model's sequences ("frames") by name and action, their length and their events; skeleton objects; tags (a studio model's bones, then its attachments, numbered from 1) and where a tag lies on an entity in the world; and the surfaces of a brush model, with their corners' position, texture axes, normal, texture and lightmap places and light.
An entity's pose is its frame (the sequence), frame1time (seconds into it),
bonecontrol1 to bonecontrol5 and subblendfrac with subblend2frac. processmodelevents runs its
callback for each event from the base time up to but not including the target time, a
looping sequence's events coming round every (frames - 1) / fps seconds; nothing runs
when the two times are equal. Skeleton objects live in the host's
ext.skeletons.
Summary
Functions
Run model builtin builtin (a number or a name).
Skeleton object handle's bones as transforms from bone space to the model's, or nil.
Functions
@spec call(map(), integer() | String.t(), non_neg_integer()) :: map()
Run model builtin builtin (a number or a name).
Skeleton object handle's bones as transforms from bone space to the model's, or nil.