The archetype's affordance ids, a closed union the producer declares.
The archetype's free dimensions, a closed union the producer declares.
Mass properties or null for a visual-only model.
An archetype from what a producer built, at an articulation state.
The archetype's affordance ids, a closed union the producer declares.
The archetype's free dimensions, a closed union the producer declares.
Mass properties or null for a visual-only model.
Through the articulation and ArchetypeSpan.pose owners for unsupported travels, invalid line geometry or incompatible held contacts.
ReadonlyaffordancesThe contacts at the current articulation state.
ReadonlyassetAlways null: no binary payload backs an archetype.
ReadonlybodyRest mass, centre and contact coefficients, or null for a visual-only model.
ReadonlyidModel id, unique in a scene; the producer's id parameter or its own name.
ReadonlymaterialsThe few flat materials the parts cite.
ReadonlynameReadable name of the thing, such as dining chair.
ReadonlyoriginAlways generated: the geometry is fully described by parts.
ReadonlypartsThe actual primitive or convex-cell parts at the current articulation state.
ReadonlyskeletonAlways null: an archetype is a rigid or articulated object, never a humanoid rig.
The producer's name, such as chair, which refusals carry.
Producer-owned actual convex wall cells, shared with placed assemblies.
The value of each free dimension this variant has, in the unit of its band: drawn from the seed, or fixed by a parameter. A dimension the variant lacks, as a stool lacks a back height, is absent.
Whether the resolved model declares any articulation, including at rest.
The physical reference material declared by the producer; null for a mixed assembly, independently of optical colours or per-part friction surfaces.
Rest mass, centre of mass and inertia, or null for a visual-only model.
Where the dimensions came from: the band each drawn dimension was drawn in, and the model picked on each axis, by axis. A figure a model gives has no band; its model's name is the record.
The spans this archetype lays between moving frames, at rest.
The travel of each articulation that was set, by id; a follower's is read through travel.
One of the archetype's contacts, at the current articulation state.
The affordance id.
The affordance, its frame in the model's space.
This archetype with its articulations at stated travels.
One input per coupled degree of freedom, by its leader or an explicitly reversible follower, degrees for turning kinds and metres for translating kinds. An independent articulation not listed is at rest, whatever this archetype's own state.
A new archetype; this one is unchanged.
What a hit leaves of this archetype at rest: its remainder and its fragments, each an archetype, or null when it does not break.
The hit's energy and momentum.
The remainder, null when every part breaks off, and each fragment with its velocity; null when no fracture sets or no calibrated contact.fracture threshold are declared, or the hit is below that threshold.
The moment of inertia about a line through a point, at rest: what a swing about the hands or a tilt about an edge works against.
A point of the line in the model's space, metres.
The line's direction; any length.
The moment, kg m squared.
A contact's frame in the world, with the archetype placed.
The affordance id.
The archetype's placement in the world, with unit scale: the frame a scene or a moving support gives its root.
The affordance's frame in the world.
This archetype with its rest parts replaced, keeping identity, materials, dimensions and rest mass properties. A rig may supply current contact frames; omitted frames retain rest contact origins. Declared spans are rebuilt and explicitly held line axes follow their current geometry.
The parts in the new pose, in the model's space; the same ids as this archetype's.
Optionalframes: ReadonlyMap<string, IAutoMovieTransform>
Complete carrier contact frames, or omitted to retain rest origins; explicit held-span tangents are derived afterward.
A new archetype at rest in that pose; this one is unchanged.
The archetype's colliders at the current articulation state, in the model's space.
The admitted part solids, or an empty list for a visual-only model.
A contact site on an affordance, by coordinates over its extent as ArchetypeSite defines them.
The affordance id.
Optionalu: number
The first coordinate, 0 to 1; the middle when absent.
Optionalv: number
The second coordinate, 0 to 1; the middle when absent.
The site's frame in the model's space.
One of the archetype's spans at the current articulation state: where its ends are and whether it is slack.
The span's part id.
Its state, in the model's space.
What a part's surface is made of.
The part's id.
The material its producer declared, or null when it declared none.
An articulation's travel at this state: the travel set for a leader, 0 for one not set, and the travel its leader gives a follower.
The articulation's id.
The travel, degrees for the turning kinds and metres for the others.
StaticprojectionPrepare selected contact frames for ordinary rigid archetypes; subclasses and flexible spans need the complete pose.
What a producer returns: a model of one thing people hold, use, sit on, ride or fight with, with typed access to what a person's act reads from it.
An archetype is an
IAutoMovieModel: its own enumerable members are exactly a rigid generated model's (id,name,origin,parts,skeleton,body,affordances,materials,asset), so it goes wherever a model goes, serialises as one, and two archetypes from the same parameters and seed serialise to the same text. Everything else is reached through accessors that a copy or a serialisation leaves behind:affordance(id)andsite(id, u, v)give a contact and a place on it, withidchecked against the producer's closed id type at compile time and refused at run time with the ids that exist;articulate(state)gives the archetype with its articulations at the stated travels, parts and carried affordances moved with them, followers set by their leaders and spans laid again between their ends;travel(id)gives any articulation's travel, a follower's included, andspan(id)a span's ends and slack. The travels live on the instance only: a serialised posed archetype is a picture of that pose and carries no state, so articulate from the archetype a producer returned, never from a copy read back;dimensionsgives each free dimension andprovenanceits source. Physical models carry mass, centre and inertia inproperties. For visual models bothpropertiesandbodyare null.shapes()gives colliders for a hand to close on, andplaced(id, placement)a contact's frame in the world;surface(part)gives what a part's surface is made of andfriction(part, against)its measured friction against another material, whilebodycarries the static and kinetic friction of what the model rests on against its ground (ArchetypeFriction). Lengths are metres, masses kilograms and angles degrees. The model's space has+Yup and+Zto the front of a thing that has one; an archetype that stands on the floor has its origin on the floor.