Skip to main content

Module eval

Module eval 

Source
Expand description

The evaluation core — everything that turns .ssab data plus a time into drawable state.

ModuleResponsibility
playback_controllerTransport, loop counting, ping-pong, seek, FPS and playback range.
interpolationKeyframe curve evaluation (delegates the maths to crate::interpolate).
matrix / geometryTransform composition and vertex/mesh geometry.
framedataBuilds the per-frame FlatBuffer and the DrawBatch plan a Player consumes.
override_layerPer-part runtime overrides of color, cell and visibility.
effectParticle effect simulation.
z_orderDraw-order resolution.
ssab_lookupName/hash lookups into the loaded binary.

The enums defined here — SsCoordinateSystem, SsOrigin, SsUnit and RenderMode — are the knobs that adapt output to a host engine’s conventions. Getting them right is usually the first thing a new Player has to do: a Y-down engine fed Y-up output renders upside down.

Re-exports§

pub use matrix::SsMatrix4x4;
pub use matrix::SsVector3;
pub use geometry::*;

Modules§

effect
framedata
geometry
interpolation
keyframes
Read side of SsAnimeBinary.keyframes: every key of the pack, one column per field, and the tables its compound values live in.
math
matrix
override_layer
Per-part runtime Override Layer
playback_controller
ssab_lookup
z_order

Enums§

RenderMode
What a frame computes, by how the Player draws it.
SsCoordinateSystem
The Y direction of what the runtime emits.
SsOrigin
Where the positions the runtime emits are measured from.
SsUnit
The unit of the part positions the runtime emits.

Constants§

SKEW_PROPAGATES
Whether a part’s Skew (shear) inherits down to its children. true == inherits down to children. false == does not inherit.