python-lottie
0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
|
3D Camera More...
Public Member Functions | |
def | __init__ (self) |
Public Member Functions inherited from lottie.objects.base.LottieObject | |
def | to_dict (self) |
Serializes into a JSON object fit for the Lottie format. More... | |
def | load (cls, lottiedict) |
Loads from a JSON object. More... | |
def | find (self, search, propname="name") |
Recursively searches for child objects with a matching property. More... | |
def | find_all (self, type, predicate=None, include_self=True) |
Find all child objects that match a predicate. More... | |
def | clone (self) |
Returns a copy of the object. More... | |
def | clone_into (self, other) |
def | __str__ (self) |
Public Member Functions inherited from lottie.objects.base.LottieObjectMeta | |
def | __new__ (cls, name, bases, attr) |
Public Attributes | |
transform | |
Layer transform. More... | |
perspective | |
Distance from the Z=0 plane. More... | |
Public Attributes inherited from lottie.objects.layers.Layer | |
threedimensional | |
Whether the layer is threedimensional. More... | |
hidden | |
Whether the layer is hidden. More... | |
index | |
Index that can be used for parenting and referenced in expressions. More... | |
parent_index | |
Must be the ind property of another layer. More... | |
time_stretch | |
in_point | |
Frame when the layer becomes visible. More... | |
out_point | |
Frame when the layer becomes invisible. More... | |
start_time | |
Start Time of layer. More... | |
is_guide | |
When true, the layer should not be rendered. More... | |
Public Attributes inherited from lottie.objects.helpers.VisualObject | |
name | |
match_name | |
Static Public Attributes | |
int | type = 13 |
Static Public Attributes inherited from lottie.objects.layers.Layer | |
type = None | |
Layer type. More... | |
3D Camera
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 13 | type | |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
ty | int = 13 | type | |
ks | Transform | Layer transform. | transform |
pe | Value | Distance from the Z=0 plane. | perspective |
def lottie.objects.layers.CameraLayer.__init__ | ( | self | ) |
Reimplemented from lottie.objects.layers.Layer.
lottie.objects.layers.CameraLayer.perspective |
lottie.objects.layers.CameraLayer.transform |