simple

class janim.components.simple.Cmpt_Float(default_value, *args, **kwargs)

基类:Component, Generic

floatComponent 封装

copy() Self
become(other: Cmpt_Float) Self
not_changed(other: Cmpt_Float) Self
classmethod align_for_interpolate(cmpt1: Cmpt_Float, cmpt2: Cmpt_Float)
interpolate(cmpt1: Cmpt_Float, cmpt2: Cmpt_Float, alpha: float, *, path_func=None) None
set(value: float) Self
get() float
class janim.components.simple.Cmpt_Alpha(default_value, *args, **kwargs)

基类:Cmpt_Float, Generic

Cmpt_Float 一样,只是方便 isinstance

class janim.components.simple.Cmpt_List(iterable=(), /)

基类:list[T], Component, Generic

listComponent 封装

copy() Self

Return a shallow copy of the list.

become(other: Cmpt_List) Self
not_changed(other: Cmpt_List) Self
class janim.components.simple.Cmpt_Dict

基类:dict[K, V], Component, Generic

dictComponent 封装

copy() a shallow copy of D
become(other: Cmpt_Dict) Self
not_changed(other: Cmpt_Dict) Self