Package pyffi :: Package formats :: Package nif :: Class NifFormat :: Class _bhkListShape
[hide private]
[frames] | no frames]

Class _bhkListShape

source code

                  object --+                                        
                           |                                        
      utils.graph.DetailNode --+                                    
                               |                                    
          utils.graph.GlobalNode --+                                
                                   |                                
object_models.xml.struct_.StructBase --+                            
                                       |                            
                     NifFormat._NiObject --+                        
                                           |                        
                          NifFormat.NiObject --+                    
                                               |                    
                         NifFormat._bhkRefObject --+                
                                                   |                
                              NifFormat.bhkRefObject --+            
                                                       |            
                               NifFormat.bhkSerializable --+        
                                                           |        
                                          NifFormat.bhkShape --+    
                                                               |    
                                    NifFormat.bhkShapeCollection --+
                                                                   |
                                                                  NifFormat._bhkListShape
Known Subclasses:

A list of shapes.Do not put a bhkPackedNiTriStripsShape in the Sub Shapes. Use aseparate collision nodes without a list shape for those.Also, shapes collected in a bhkListShape may not have the correctwalking noise, so only use it for non-walkable objects.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from bhkRefObject: get_shape_mass_center_inertia

Inherited from NiObject: apply_scale, find, find_chain, is_interchangeable, tree

Inherited from NiObject (private): _validateTree

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...
  _has_links = True
  _has_refs = True
  _names = ['num_sub_shapes', 'sub_shapes', 'material', 'unknown...

Inherited from bhkSerializable (private): _games, _is_template

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  material
The shape's material.
  num_sub_shapes
The number of sub shapes referenced.
  num_unknown_ints
Count.
  sub_shapes
List of shapes.
  unknown_floats
Unknown.
  unknown_ints
Unknown.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2d01a50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01a90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01d10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01d50>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2d01a50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01a90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01d10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01d50>]

_names

Value:
['num_sub_shapes',
 'sub_shapes',
 'material',
 'unknown_floats',
 'num_unknown_ints',
 'unknown_ints']

Property Details [hide private]

material

The shape's material.
Get Method:
<functools.partial object at 0x2dac158>
Set Method:
<functools.partial object at 0x2dac1b0>

num_sub_shapes

The number of sub shapes referenced.
Get Method:
<functools.partial object at 0x2d03f70>
Set Method:
<functools.partial object at 0x2d03fc8>

num_unknown_ints

Count.
Get Method:
<functools.partial object at 0x2dac310>
Set Method:
<functools.partial object at 0x2dac368>

sub_shapes

List of shapes.
Get Method:
<functools.partial object at 0x2dac0a8>

unknown_floats

Unknown. Set to (0.0,0.0,-0.0,0.0,0.0,-0.0), where -0.0 is 0x80000000 in hex.
Get Method:
<functools.partial object at 0x2dac260>

unknown_ints

Unknown.
Get Method:
<functools.partial object at 0x2dac418>