Package pyffi :: Package formats :: Package cgf :: Class CgfFormat :: Class _MeshChunk
[hide private]
[frames] | no frames]

Class _MeshChunk

source code

                  object --+                        
                           |                        
      utils.graph.DetailNode --+                    
                               |                    
          utils.graph.GlobalNode --+                
                                   |                
object_models.xml.struct_.StructBase --+            
                                       |            
                        CgfFormat._Chunk --+        
                                           |        
                             CgfFormat.Chunk --+    
                                               |    
                   CgfFormat.AbstractObjectChunk --+
                                                   |
                                                  CgfFormat._MeshChunk
Known Subclasses:

Geometry.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from Chunk: apply_scale, tree

Inherited from object_models.xml.struct_.StructBase: __init__, __str__, deepcopy, fix_links, get_attribute, get_basic_attribute, get_detail_child_names, get_detail_child_nodes, get_global_child_nodes, get_global_display, get_hash, get_links, get_refs, get_size, get_strings, get_template_attribute, read, replace_global_node, set_attribute, set_basic_attribute, set_template_attribute, write

Inherited from utils.graph.GlobalNode: get_global_child_edge_types, get_global_iterator

Inherited from utils.graph.DetailNode: get_detail_child_edge_types, get_detail_display, get_detail_iterator

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from object_models.xml.struct_.StructBase: get_games, get_versions

Class Variables [hide private]
  _attribute_list = [<pyffi.object_models.xml.StructAttribute ob...
  _attrs = [<pyffi.object_models.xml.StructAttribute object at 0...
  _games = {'Aion': [1860], 'Crysis': [1860, 2048], 'Far Cry': [...
  _has_links = True
  _has_refs = True
  _names = ['has_vertex_weights', 'has_vertex_colors', 'in_world...

Inherited from AbstractObjectChunk (private): _is_template

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bone_map_data
  colors_2_data
  colors_data
  face_map_data
  faces
  flags_1
  flags_2
  has_vertex_colors
  has_vertex_weights
  in_world_space
  indices_data
  material
Material chunk.
  max_bound
Maximum coordinate values.
  mesh_subsets
  min_bound
Minimum coordinate values.
  normals_data
  num_faces
  num_indices
Number of indices (each triangle has 3 indices, so this is the number of triangles times 3).
  num_mesh_subsets
Number of mesh subsets.
  num_uvs
  num_vertices
  physics_data
  reserved_1
Padding byte
  reserved_2
Padding byte
  reserved_3
  reserved_data
  sh_coeffs_data
  shape_deformation_data
  tangents_data
  uv_faces
  uvs
  uvs_data
  vert_anim
  vert_mats_data
  vertex_colors
  vertex_weights
  vertices
  vertices_data

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x27245d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724710>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724810>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724890>,
 <pyffi.object_models.xml.StructAttribute object at 0x27248d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724910>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724950>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724990>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x27245d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724710>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724810>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724890>,
 <pyffi.object_models.xml.StructAttribute object at 0x27248d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724910>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724950>,
 <pyffi.object_models.xml.StructAttribute object at 0x2724990>,
...

_games

Value:
{'Aion': [1860], 'Crysis': [1860, 2048], 'Far Cry': [1571, 1860]}

_names

Value:
['has_vertex_weights',
 'has_vertex_colors',
 'in_world_space',
 'reserved_1',
 'reserved_2',
 'flags_1',
 'flags_2',
 'num_vertices',
...

Property Details [hide private]

bone_map_data

Get Method:
<functools.partial object at 0x272c050>
Set Method:
<functools.partial object at 0x272c0a8>

colors_2_data

Get Method:
<functools.partial object at 0x272baf8>
Set Method:
<functools.partial object at 0x272bb50>

colors_data

Get Method:
<functools.partial object at 0x272b9f0>
Set Method:
<functools.partial object at 0x272ba48>

face_map_data

Get Method:
<functools.partial object at 0x272c158>
Set Method:
<functools.partial object at 0x272c1b0>

faces

Get Method:
<functools.partial object at 0x272b368>

flags_1

Get Method:
<functools.partial object at 0x2725838>
Set Method:
<functools.partial object at 0x2725890>

flags_2

Get Method:
<functools.partial object at 0x2725940>
Set Method:
<functools.partial object at 0x2725998>

has_vertex_colors

Get Method:
<functools.partial object at 0x2725418>
Set Method:
<functools.partial object at 0x2725470>

has_vertex_weights

Get Method:
<functools.partial object at 0x2725310>
Set Method:
<functools.partial object at 0x2725368>

in_world_space

Get Method:
<functools.partial object at 0x2725520>
Set Method:
<functools.partial object at 0x2725578>

indices_data

Get Method:
<functools.partial object at 0x272bc00>
Set Method:
<functools.partial object at 0x272bc58>

material

Material chunk.
Get Method:
<functools.partial object at 0x2725e68>
Set Method:
<functools.partial object at 0x2725ec0>

max_bound

Maximum coordinate values.
Get Method:
<functools.partial object at 0x272c5d0>
Set Method:
<functools.partial object at 0x272c628>

mesh_subsets

Get Method:
<functools.partial object at 0x272b0a8>
Set Method:
<functools.partial object at 0x272b100>

min_bound

Minimum coordinate values.
Get Method:
<functools.partial object at 0x272c4c8>
Set Method:
<functools.partial object at 0x272c520>

normals_data

Get Method:
<functools.partial object at 0x272b7e0>
Set Method:
<functools.partial object at 0x272b838>

num_faces

Get Method:
<functools.partial object at 0x2725d60>
Set Method:
<functools.partial object at 0x2725db8>

num_indices

Number of indices (each triangle has 3 indices, so this is the number of triangles times 3).
Get Method:
<functools.partial object at 0x2725b50>
Set Method:
<functools.partial object at 0x2725ba8>

num_mesh_subsets

Number of mesh subsets.
Get Method:
<functools.partial object at 0x2725f70>
Set Method:
<functools.partial object at 0x2725fc8>

num_uvs

Get Method:
<functools.partial object at 0x2725c58>
Set Method:
<functools.partial object at 0x2725cb0>

num_vertices

Get Method:
<functools.partial object at 0x2725a48>
Set Method:
<functools.partial object at 0x2725aa0>

physics_data

Get Method:
<functools.partial object at 0x272c418>

reserved_1

Padding byte
Get Method:
<functools.partial object at 0x2725628>
Set Method:
<functools.partial object at 0x2725680>

reserved_2

Padding byte
Get Method:
<functools.partial object at 0x2725730>
Set Method:
<functools.partial object at 0x2725788>

reserved_3

Get Method:
<functools.partial object at 0x272c6d8>

reserved_data

Get Method:
<functools.partial object at 0x272c368>

sh_coeffs_data

Get Method:
<functools.partial object at 0x272be10>
Set Method:
<functools.partial object at 0x272be68>

shape_deformation_data

Get Method:
<functools.partial object at 0x272bf18>
Set Method:
<functools.partial object at 0x272bf70>

tangents_data

Get Method:
<functools.partial object at 0x272bd08>
Set Method:
<functools.partial object at 0x272bd60>

uv_faces

Get Method:
<functools.partial object at 0x272b4c8>

uvs

Get Method:
<functools.partial object at 0x272b418>

uvs_data

Get Method:
<functools.partial object at 0x272b8e8>
Set Method:
<functools.partial object at 0x272b940>

vert_anim

Get Method:
<functools.partial object at 0x272b1b0>
Set Method:
<functools.partial object at 0x272b208>

vert_mats_data

Get Method:
<functools.partial object at 0x272c260>
Set Method:
<functools.partial object at 0x272c2b8>

vertex_colors

Get Method:
<functools.partial object at 0x272b628>

vertex_weights

Get Method:
<functools.partial object at 0x272b578>

vertices

Get Method:
<functools.partial object at 0x272b2b8>

vertices_data

Get Method:
<functools.partial object at 0x272b6d8>
Set Method:
<functools.partial object at 0x272b730>