MobjectUpdateUtils¶
-
manimlib.mobject.mobject_update_utils.
assert_is_mobject_method
(method)¶ 判断
method
是否是Mobject的方法
-
manimlib.mobject.mobject_update_utils.
always
(method, *args, **kwargs)¶ 一直调用
method
,传入*args, **kwargs
-
manimlib.mobject.mobject_update_utils.
f_always
(method, *arg_generators, **kwargs)¶ 与
always
类似,但是传入的多个arg_generators
是可调用对象,用于生成参数
-
manimlib.mobject.mobject_update_utils.
always_redraw
(func)¶ 始终重复调用
func
生成新物体
-
manimlib.mobject.mobject_update_utils.
always_shift
(mobject, direction=array([1.0, 0.0, 0.0]), rate=0.1)¶ 将
mobject
始终向direction
方向移动,速度为rate
-
manimlib.mobject.mobject_update_utils.
always_rotate
(mobject, rate=0.3490658503988659, **kwargs)¶ 将
mobject
始终旋转
-
manimlib.mobject.mobject_update_utils.
turn_animation_into_updater
(animation, cycle=False, **kwargs)¶ 将
animation
转化为对执行动画对象的updatercycle
为True时循环执行,否则只执行一次
-
manimlib.mobject.mobject_update_utils.
cycle_animation
(animation, **kwargs)¶ 循环执行
animation