python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.animation.DepthRotationAxis Class Reference

Public Member Functions

def __init__ (self, x, y, keep)
 
def rot_center (self, center, point)
 
def extract_component (self, vector, axis)
 
def from_points (cls, keep_point, center=NVector(0, 0, 0))
 

Public Attributes

 x
 
 y
 
 keep
 

Detailed Description

Definition at line 324 of file animation.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.animation.DepthRotationAxis.__init__ (   self,
  x,
  y,
  keep 
)

Definition at line 325 of file animation.py.

Member Function Documentation

◆ extract_component()

def lottie.utils.animation.DepthRotationAxis.extract_component (   self,
  vector,
  axis 
)

Definition at line 337 of file animation.py.

◆ from_points()

def lottie.utils.animation.DepthRotationAxis.from_points (   cls,
  keep_point,
  center = NVector(0, 0, 0) 
)

Definition at line 341 of file animation.py.

◆ rot_center()

def lottie.utils.animation.DepthRotationAxis.rot_center (   self,
  center,
  point 
)

Definition at line 330 of file animation.py.

Member Data Documentation

◆ keep

lottie.utils.animation.DepthRotationAxis.keep

Definition at line 328 of file animation.py.

◆ x

lottie.utils.animation.DepthRotationAxis.x

Definition at line 326 of file animation.py.

◆ y

lottie.utils.animation.DepthRotationAxis.y

Definition at line 327 of file animation.py.


The documentation for this class was generated from the following file: