FragmentData

ceramic.FragmentData (Typedef)

Data structure that defines a fragment's content and properties. This is typically loaded from .fragment files and used to instantiate Fragment objects with their entities, animations, and components.

A FragmentData contains:

  • Basic properties like dimensions and appearance
  • Entity definitions (items) to instantiate
  • Timeline tracks for animations
  • Components to attach at the fragment level
  • Labels for marking timeline positions