Public Member Functions | Public Attributes | Private Attributes
io_export_ogreDotScene.Skeleton Class Reference

List of all members.

Public Member Functions

def __init__
def get_bone
def to_xml
def write_animation

Public Attributes

 arm
 bones
 object
 roots
 bad idea - allowing rotation of armature, means vertices must also be rotated, also a bug with applying the rotation, the Z rotation is lost x,y,z = arm.matrix_local.copy().inverted().to_euler() e = mathutils.Euler( (x,z,y) ) self.object_space_transformation = e.to_matrix().to_4x4()

Private Attributes

 _restore_layers

Detailed Description

Definition at line 4649 of file io_export_ogreDotScene.py.


Constructor & Destructor Documentation

def io_export_ogreDotScene.Skeleton.__init__ (   self,
  ob 
)

Definition at line 4656 of file io_export_ogreDotScene.py.


Member Function Documentation

def io_export_ogreDotScene.Skeleton.get_bone (   self,
  name 
)

Definition at line 4650 of file io_export_ogreDotScene.py.

Definition at line 4738 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.Skeleton.write_animation (   self,
  arm,
  actionName,
  frameBegin,
  frameEnd,
  doc,
  parentElement 
)

Definition at line 4702 of file io_export_ogreDotScene.py.


Member Data Documentation

Definition at line 4656 of file io_export_ogreDotScene.py.

Definition at line 4656 of file io_export_ogreDotScene.py.

Definition at line 4656 of file io_export_ogreDotScene.py.

Definition at line 4656 of file io_export_ogreDotScene.py.

bad idea - allowing rotation of armature, means vertices must also be rotated, also a bug with applying the rotation, the Z rotation is lost x,y,z = arm.matrix_local.copy().inverted().to_euler() e = mathutils.Euler( (x,z,y) ) self.object_space_transformation = e.to_matrix().to_4x4()

setup bones for Ogre format ## walk bones, convert them ##

Definition at line 4663 of file io_export_ogreDotScene.py.


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


naoqi_tools
Author(s): Mikael Arguedas
autogenerated on Sat Jun 8 2019 20:30:22