Skip to main content

Crate re_core

Crate re_core 

Source
Expand description

re-core: scene graph, meshes, skeletons, animations and the asset library for WorldBuilder. Everything here is headless and serialization friendly.

Re-exports§

pub use anim::blend as blend_poses;
pub use anim::Animator;
pub use anim::Layer;
pub use anim::LayerMask;
pub use anim::Pose;
pub use animation::Animation;
pub use animation::Channel;
pub use animation::ChannelPath;
pub use animation::Interpolation;
pub use animation::KeyValue;
pub use animation::Keyframe;
pub use animation::Space;
pub use animation::Target;
pub use id::AnimationId;
pub use id::MaterialId;
pub use id::MeshId;
pub use id::NodeId;
pub use id::SkeletonId;
pub use material::Material;
pub use mesh::Mesh;
pub use mesh::Skin;
pub use project::Project;
pub use scene::Node;
pub use scene::NodeKind;
pub use scene::Scene;
pub use skeleton::Joint;
pub use skeleton::Skeleton;
pub use tileset::Tile;
pub use tileset::TileCell;
pub use tileset::TileMap;
pub use tileset::TileSet;
pub use transform::Transform;

Modules§

anim
Runtime pose evaluation on top of the clip data (animation + skeleton): sampling a clip into a joint pose, blending poses, override layers with joint masks, and CCD inverse kinematics.
animation
id
iso
Headless isometric sprite baker: rasterizes a node subtree into RGBA sprite frames (classic 2:1-ish game isometric) with no window and no GPU.
material
mesh
motion
Procedural motion so the world does not feel frozen: water ripples, foliage swaying in the wind, floating crystals.
ops
High-level operations on a Project. This is the single API surface shared by CLI, MCP server and GUI.
optimize
Mesh and asset optimization for low-budget targets (Raspberry Pi, sprites).
primitives
project
scene
skeleton
terrain
Heightfield-style terrain: a subdivided grid mesh in the XZ plane whose vertex heights (local Y) are edited by radial brush operations.
tilebuild
Ready-made tilesets and grid builders so a client (agent or GUI) can lay out floors, paths, dungeons and caves with one call.
tileset
3D tile support: a TileSet is a reusable modular kit (floor, wall, corner, ramp …); a TileMap paints cells of one tileset onto an XZ grid.
transform