Skip to main content

Module skeletal_section

Module skeletal_section 

Source
Expand description

Versioned rig, skin influence and motor clip records. SKL1: versioned rigid rigs, four-weight vertex skins and named motor clips. Stable joint/clip IDs use the engine’s q_hash identity domain. All records are little endian; decoding validates the entire payload before writes.

Re-exports§

pub use skl2::ActuationPathwayRecord;
pub use skl2::EpistemicProvenanceWord;
pub use skl2::KinematicSolverRegime;
pub use skl2::LoopClosureConstraintRecord;
pub use skl2::SkeletalSectionPayload;
pub use skl2::Skl2JointDescriptorV1;
pub use skl2::Skl2JointDescriptorV2;
pub use skl2::Ssm1BasisHeader;
pub use skl2::Ssm1ModeWeight;
pub use skl2::SwingTwistConeLimits;
pub use skl2::TopologicalLandmarkRecord;
pub use skl2::SKL2_HEADER_LEN;
pub use skl2::SKL2_JOINT_FLAG_EXOSKELETAL;
pub use skl2::SKL2_JOINT_FLAG_HYDROSTATIC;
pub use skl2::SKL2_JOINT_FLAG_LOOP_ANCHOR;
pub use skl2::SKL2_JOINT_FLAG_SYMMETRIC;
pub use skl2::SKL2_JOINT_FLAG_VESTIGIAL;
pub use skl2::SKL2_MAGIC;
pub use skl2::SKL2_MAX_CONTAINER_BYTES;
pub use skl2::SKL2_MAX_JOINTS;
pub use skl2::SKL2_NONE_INDEX;
pub use skl2::SKL2_VERSION_1;
pub use skl2::SKL2_VERSION_2;
pub use skl2::SSM1_MAGIC;

Modules§

skl2
SKL2: versioned biomechanical skeletal joint descriptors (v1 32B / v2 64B), loop-closure constraints, topological landmarks, actuation pathways, SSM1 morphable basis descriptors, and bit-packed epistemic provenance.

Structs§

ClipRecord
Counts
SkeletalData
SkeletalSection
Zero-copy validated record view. Private fields prevent unchecked construction.

Enums§

SkeletalSectionError

Constants§

CLIP_BYTES
HEADER_BYTES
JOINT_BYTES
KEY_BYTES
MAX_CLIPS
MAX_TRACKS
SKIN_BYTES
TRACK_BYTES

Functions§

clip_view
Build a runtime view after loading the section into caller-owned arrays.
encode_skeletal_section_into
Serialise data as an SKL1 section into out, returning the byte count (header + joints + clips + tracks + keys + skin weights).