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

Class NiPSysGravityModifier

source code

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

Adds gravity to a particle system, when linked to a NiNode to use as a Gravity Object.
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 = ['name', 'order', 'target', 'active', 'gravity_object...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  decay
Falloff range.
  force_type
Planar or Spherical type
  gravity_axis
Orientation of gravity.
  gravity_object
Refers to a NiNode for gravity location.
  strength
The strength of gravity.
  turbulence
Adds a degree of randomness.
  turbulence_scale
Range for turbulence.
  unknown_byte
Unknown

Inherited from NiPSysModifier: active, name, order, target

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2dc06d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc0750>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc0790>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc07d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8d890>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8d8d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8d990>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8d9d0>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2f8d890>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8d8d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8d990>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8d9d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8da50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8dad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8db10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f8db90>]

_names

Value:
['name',
 'order',
 'target',
 'active',
 'gravity_object',
 'gravity_axis',
 'decay',
 'strength',
...

Property Details [hide private]

decay

Falloff range.
Get Method:
<functools.partial object at 0x2f92100>
Set Method:
<functools.partial object at 0x2f92158>

force_type

Planar or Spherical type
Get Method:
<functools.partial object at 0x2f92310>
Set Method:
<functools.partial object at 0x2f92368>

gravity_axis

Orientation of gravity.
Get Method:
<functools.partial object at 0x2f8efc8>
Set Method:
<functools.partial object at 0x2f92050>

gravity_object

Refers to a NiNode for gravity location.
Get Method:
<functools.partial object at 0x2f8eec0>
Set Method:
<functools.partial object at 0x2f8ef18>

strength

The strength of gravity.
Get Method:
<functools.partial object at 0x2f92208>
Set Method:
<functools.partial object at 0x2f92260>

turbulence

Adds a degree of randomness.
Get Method:
<functools.partial object at 0x2f92418>
Set Method:
<functools.partial object at 0x2f92470>

turbulence_scale

Range for turbulence.
Get Method:
<functools.partial object at 0x2f92520>
Set Method:
<functools.partial object at 0x2f92578>

unknown_byte

Unknown
Get Method:
<functools.partial object at 0x2f92628>
Set Method:
<functools.partial object at 0x2f92680>