python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.animation.DepthRotation Class Reference

Public Member Functions

def __init__ (self, center)
 
def rotate3d_y (self, point, angle)
 
def rotate3d_x (self, point, angle)
 
def rotate3d_z (self, point, angle)
 
def rotate3d (self, point, angle, axis)
 

Public Attributes

 center
 

Static Public Attributes

 axis_x = DepthRotationAxis(NVector(0, 0, 1), NVector(0, 1, 0), NVector(1, 0, 0))
 
 axis_y = DepthRotationAxis(NVector(1, 0, 0), NVector(0, 0, 1), NVector(0, 1, 0))
 
 axis_z = DepthRotationAxis(NVector(1, 0, 0), NVector(0, 1, 0), NVector(0, 0, 1))
 

Detailed Description

Definition at line 354 of file animation.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.utils.animation.DepthRotation.__init__ (   self,
  center 
)

Definition at line 359 of file animation.py.

Member Function Documentation

◆ rotate3d()

def lottie.utils.animation.DepthRotation.rotate3d (   self,
  point,
  angle,
  axis 
)

Definition at line 395 of file animation.py.

◆ rotate3d_x()

def lottie.utils.animation.DepthRotation.rotate3d_x (   self,
  point,
  angle 
)

Definition at line 377 of file animation.py.

◆ rotate3d_y()

def lottie.utils.animation.DepthRotation.rotate3d_y (   self,
  point,
  angle 
)

Definition at line 362 of file animation.py.

◆ rotate3d_z()

def lottie.utils.animation.DepthRotation.rotate3d_z (   self,
  point,
  angle 
)

Definition at line 392 of file animation.py.

Member Data Documentation

◆ axis_x

lottie.utils.animation.DepthRotation.axis_x = DepthRotationAxis(NVector(0, 0, 1), NVector(0, 1, 0), NVector(1, 0, 0))
static

Definition at line 355 of file animation.py.

◆ axis_y

lottie.utils.animation.DepthRotation.axis_y = DepthRotationAxis(NVector(1, 0, 0), NVector(0, 0, 1), NVector(0, 1, 0))
static

Definition at line 356 of file animation.py.

◆ axis_z

lottie.utils.animation.DepthRotation.axis_z = DepthRotationAxis(NVector(1, 0, 0), NVector(0, 1, 0), NVector(0, 0, 1))
static

Definition at line 357 of file animation.py.

◆ center

lottie.utils.animation.DepthRotation.center

Definition at line 360 of file animation.py.


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