Пример #1
0
 def __init__(self, parent, stream=None, resources=None):
     self.age_gender = 0
     self.edge_color = 0
     self.specular_color = 0
     self.specular_power = 0.0
     self.is_genetic = True
     ChildElement.__init__(parent)
     Serializable.__init__(self, stream, resources)
Пример #2
0
 def __init__(self, parent, stream=None):
     self.bones = []
     self.info_nodes = [None] * 11
     self.pole = None
     self.slot_info = None
     self.slot_offset = None
     self.root = None
     ChildElement.__init__(self, parent)
     Serializable.__init__(self, stream)
Пример #3
0
 def __init__(self, parent, stream=None):
     self.bones = []
     self.info_nodes = [None] * 11
     self.pole = None
     self.slot_info = None
     self.slot_offset = None
     self.root = None
     ChildElement.__init__(self, parent)
     Serializable.__init__(self, stream)
Пример #4
0
 def __init__(self, parent, stream=None, resources=None):
     self.age_gender = 0
     self.type_flags = 0
     self.specular = None
     self.detail_dark = None
     self.detail_light = None
     self.normal = None
     self.overlay = None
     ChildElement.__init__(parent)
     Serializable.__init__(self, stream, resources)
Пример #5
0
 def __init__(self, stream=None, resources=None, parent=None):
     self.name = None
     self.material = None
     self.vertex_format = None
     self.vertex_buffer = None
     self.index_buffer = None
     self.flags = self.Flags.PICKABLE
     self.primitive_type = self.PrimitiveType.TRIANGLE_LIST
     self.stream_offset = 0
     self.start_vertex = 0
     self.start_index = 0
     self.min_vertex_index = 0
     self.vertex_count = 0
     self.primitive_count = 0
     self.bounds = BoundingBox()
     self.skin_controller = None
     self.bone_references = []
     self.scale_offsets = None
     self.states = []
     self.parent_name = 0
     self.mirror_plane_normal = [0.0, 0.0, 0.0]
     self.mirror_plane_offset = 0.0
     ChildElement.__init__(self,parent)
     Serializable.__init__(self, stream, resources)
Пример #6
0
 def __init__(self, stream=None, resources=None, parent=None):
     self.name = None
     self.material = None
     self.vertex_format = None
     self.vertex_buffer = None
     self.index_buffer = None
     self.flags = self.Flags.PICKABLE
     self.primitive_type = self.PrimitiveType.TRIANGLE_LIST
     self.stream_offset = 0
     self.start_vertex = 0
     self.start_index = 0
     self.min_vertex_index = 0
     self.vertex_count = 0
     self.primitive_count = 0
     self.bounds = BoundingBox()
     self.skin_controller = None
     self.bone_references = []
     self.scale_offsets = None
     self.states = []
     self.parent_name = 0
     self.mirror_plane_normal = [0.0, 0.0, 0.0]
     self.mirror_plane_offset = 0.0
     ChildElement.__init__(self, parent)
     Serializable.__init__(self, stream, resources)