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 |
Definition at line 4649 of file io_export_ogreDotScene.py.
def io_export_ogreDotScene.Skeleton.__init__ | ( | self, | |
ob | |||
) |
Definition at line 4656 of file io_export_ogreDotScene.py.
def io_export_ogreDotScene.Skeleton.get_bone | ( | self, | |
name | |||
) |
Definition at line 4650 of file io_export_ogreDotScene.py.
def io_export_ogreDotScene.Skeleton.to_xml | ( | self | ) |
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.
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.