AnimatedItem class
Item with animations tracks.
Use methods and properties in AnimatedItem.animation to control this item's animations.
Note: By default, animated items smoothly transition between animations and use normalized time to define the start and end of tracks.
Methods
add | (self, obj: BaseItem) -> None |
Inherited from BaseItem. Adds a child to this item. |
|
copy | (self) -> BaseItem |
Inherited from BaseItem. Creates a copy of this item. |
|
delete | (self) -> None |
Inherited from BaseItem. Irreversibly removes this item from the scene. |
|
delete_children | (self) -> None |
Inherited from BaseItem. Deletes all children of this item. |
|
get_property | (self, key: str) -> str |
Inherited from BaseItem. Gets a custom property from this object. Returns |
|
get_slot | (self, name: str) -> Slot |
Inherited from BaseItem. Returns Slot by name. |
|
on_collision_enter | (self, handler: Callable[[t: BaseItem], None]) -> None |
Inherited from BaseItem. Handles the start of a collision between this item and another item. |
|
on_collision_exit | (self, handler: Callable[[t: BaseItem], None]) -> None |
Inherited from BaseItem. Handles the end of a collision between this item and another item. |
|
on_property_changed | (self, id: str, handler: Callable[[t: str], None]) -> None |
Inherited from BaseItem. Handles property value changes in this object. |
|
remove_from_parent | (self) -> None |
Inherited from BaseItem. Removes this item from its parent-item, disconnecting all inherited Transform settings. |
|
set_property | (self, key: str, value: object) -> None |
Inherited from BaseItem. Sets a custom property to this object. |
Properties
active | bool |
Inherited from BaseItem. Defines this item's |
|
readonly | animated | bool |
Inherited from BaseItem. Returns |
animation | object | ||
readonly | center | Vector3 |
Inherited from BaseItem. Returns the center point of this item. |
readonly | children | ItemCollection |
Inherited from BaseItem. Returns all first-level hierarchy children of this item. |
color | Color |
Inherited from BaseItem. Defines color of this item. |
|
readonly | id | str |
Inherited from BaseItem. The unique |
input | object |
Inherited from BaseItem. |
|
masking | bool |
Inherited from FigureItem. |
|
name | str |
Inherited from BaseItem. Name of this item displayed in their name tag and in the item hierarchy. |
|
name_visible | bool |
Inherited from BaseItem. Toggles visibility of the item name tag. |
|
opacity | float |
Inherited from BaseItem. Normalized opacity of this item. |
|
readonly | parent | BaseItem |
Inherited from BaseItem. Returns the parent of this item. |
physics | object |
Inherited from BaseItem. |
|
readonly | relative_transform | Transform |
Inherited from BaseItem. The relative Transform of this item in local space. |
speech | Union[str, float] |
Inherited from BaseItem. Defines the text in the speech-bubble of this item. |
|
thought | Union[str, float] |
Inherited from BaseItem. Defines the text in the thought-bubble of this item. |
|
readonly | transform | Transform |
Inherited from BaseItem. The Transform of this item in world space. |
transition | object |
Inherited from BaseItem. |
|
visible | bool |
Inherited from BaseItem. This API is deprecated |