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

Class NiGravity

source code

                  object --+                        
                           |                        
      utils.graph.DetailNode --+                    
                               |                    
          utils.graph.GlobalNode --+                
                                   |                
object_models.xml.struct_.StructBase --+            
                                       |            
                     NifFormat._NiObject --+        
                                           |        
                          NifFormat.NiObject --+    
                                               |    
                    NifFormat.NiParticleModifier --+
                                                   |
                                                  NifFormat.NiGravity

A particle modifier; applies a gravitational field on the particles.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

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...
  _names = ['next_modifier', 'controller', 'unknown_float_1', 'f...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  direction
The direction of the applied acceleration.
  force
The strength/force of this gravity.
  position
The position of the mass point relative to the particle system.
  type
The force field's type.
  unknown_float_1
Unknown.

Inherited from NiParticleModifier: controller, next_modifier

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2ce5e10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ce5ed0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eadd50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eadd90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eaddd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eade50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eade90>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2eadd50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eadd90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eaddd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eade50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eade90>]

_names

Value:
['next_modifier',
 'controller',
 'unknown_float_1',
 'force',
 'type',
 'position',
 'direction']

Property Details [hide private]

direction

The direction of the applied acceleration.
Get Method:
<functools.partial object at 0x2eb1838>
Set Method:
<functools.partial object at 0x2eb1890>

force

The strength/force of this gravity.
Get Method:
<functools.partial object at 0x2eb1520>
Set Method:
<functools.partial object at 0x2eb1578>

position

The position of the mass point relative to the particle system. (TODO: check for versions<= 3.1)
Get Method:
<functools.partial object at 0x2eb1730>
Set Method:
<functools.partial object at 0x2eb1788>

type

The force field's type.
Get Method:
<functools.partial object at 0x2eb1628>
Set Method:
<functools.partial object at 0x2eb1680>

unknown_float_1

Unknown.
Get Method:
<functools.partial object at 0x2eb1418>
Set Method:
<functools.partial object at 0x2eb1470>