DefaultSectionType¶
完全限定名: manim.scene.section.DefaultSectionType
- class DefaultSectionType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
基类:
str
,Enum
区段的类型可用于第三方应用程序。例如,演示系统可以使用这些类型来创建循环。
示例
此类别可以重新实现以支持更多类型
class PresentationSectionType(str, Enum): # start, end, wait for continuation by user NORMAL = "presentation.normal" # start, end, immediately continue to next section SKIP = "presentation.skip" # start, end, restart, immediately continue to next section when continued by user LOOP = "presentation.loop" # start, end, restart, finish animation first when user continues COMPLETE_LOOP = "presentation.complete_loop"
方法
属性
NORMAL