collection¶
- class janim.render.collection.RenderCollection(timeline: Timeline, apprs: list[tuple[Timeline.ItemAppearance, Item]], extras: list[tuple[Timeline.ExtraRenderGroup, RenderGroupReturn]])¶
Bases:
objectUsed to help delegate rendering to special items such as
FrameEffect- apprs: list[tuple[Timeline.ItemAppearance, Item]]¶
- extras: list[tuple[Timeline.ExtraRenderGroup, RenderGroupReturn]]¶
- iter_items()¶
- delegates(items: Iterable[Item]) RenderCollection¶
Call this method to delegate rendering associated with
itemsReturns a
RenderCollectioninstance; you should later call itsrender()method to render the delegated items
- render() None¶