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

Class NiParticleSystemController

source code

                  object --+                        
                           |                        
      utils.graph.DetailNode --+                    
                               |                    
          utils.graph.GlobalNode --+                
                                   |                
object_models.xml.struct_.StructBase --+            
                                       |            
                     NifFormat._NiObject --+        
                                           |        
                          NifFormat.NiObject --+    
                                               |    
                      NifFormat.NiTimeController --+
                                                   |
                                                  NifFormat.NiParticleSystemController
Known Subclasses:

A generic particle system time controller 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 = ['next_controller', 'flags', 'frequency', 'phase', 's...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  color_data
  emit_flags
Bit 0: Emit Rate toggle bit (0 = auto adjust, 1 = use Emit Rate value)
  emit_rate
Particle emission rate (particles per second)
  emit_start_time
Particle emit start time
  emit_stop_time
Particle emit stop time
  emitter
This index targets the particle emitter object (TODO: find out what type of object this refers to).
  horizontal_angle
emitter's horizontal opening angle
  horizontal_direction
horizontal emit direction
  lifetime
Particle lifetime
  lifetime_random
Particle lifetime random modifier
  num_particles
Size of the following array.
  num_valid
Number of valid entries in the following array.
  old_emit_rate
Particle emission rate in old files
  old_speed
Particle speed in old files
  particle_extra
Link to some optional particle modifiers (NiGravity, NiParticleGrowFade, NiParticleBomb, ...)
  particle_lifetime
The particle's age.
  particle_link
  particle_timestamp
Timestamp of the last update.
  particle_unknown_short
Unknown short
  particle_unknown_vector
Unknown
  particle_velocity
Particle velocity
  particle_vertex_id
Particle/vertex index matches array index
  particles
Individual particle modifiers?
  size
Particle size
  speed
Particle speed
  speed_random
Particle random speed modifier
  start_random
Particle random start translation vector
  trailer
Trailing null byte
  unknown_byte
Unknown byte, (=0)
  unknown_color
Unknown.
  unknown_float_1
  unknown_float_13
? float=1.0 ?
  unknown_floats_2
  unknown_int_1
? int=1 ?
  unknown_int_2
? int=0 ?
  unknown_link
unknown int (=0xffffffff)
  unknown_link_2
Unknown int (=0xffffffff)
  unknown_normal
Unknown.
  unknown_short_2
? short=0 ?
  unknown_short_3
? short=0 ?
  vertical_angle
emitter's vertical opening angle [radians]
  vertical_direction
vertical emit direction [radians]0.0 : up1.6 : horizontal3.1416 : down

Inherited from NiTimeController: flags, frequency, next_controller, phase, start_time, stop_time, target, unknown_integer

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2dc0d90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc0dd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc0e50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc0ed0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc0f90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc6050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc60d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dc6150>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2ec0f50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ec0fd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ec6050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ec6090>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ec6110>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ec6150>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ec6250>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ec6310>,
...

_names

Value:
['next_controller',
 'flags',
 'frequency',
 'phase',
 'start_time',
 'stop_time',
 'target',
 'unknown_integer',
...

Property Details [hide private]

color_data

Get Method:
<functools.partial object at 0x2ecdd60>
Set Method:
<functools.partial object at 0x2ecddb8>

emit_flags

Bit 0: Emit Rate toggle bit (0 = auto adjust, 1 = use Emit Rate value)
Get Method:
<functools.partial object at 0x2ecc6d8>
Set Method:
<functools.partial object at 0x2ecc730>

emit_rate

Particle emission rate (particles per second)
Get Method:
<functools.partial object at 0x2ecc3c0>
Set Method:
<functools.partial object at 0x2ecc418>

emit_start_time

Particle emit start time
Get Method:
<functools.partial object at 0x2ec5f70>
Set Method:
<functools.partial object at 0x2ec5fc8>

emit_stop_time

Particle emit stop time
Get Method:
<functools.partial object at 0x2ecc0a8>
Set Method:
<functools.partial object at 0x2ecc100>

emitter

This index targets the particle emitter object (TODO: find out what type of object this refers to).
Get Method:
<functools.partial object at 0x2ecc8e8>
Set Method:
<functools.partial object at 0x2ecc940>

horizontal_angle

emitter's horizontal opening angle
Get Method:
<functools.partial object at 0x2ec5b50>
Set Method:
<functools.partial object at 0x2ec5ba8>

horizontal_direction

horizontal emit direction
Get Method:
<functools.partial object at 0x2ec5a48>
Set Method:
<functools.partial object at 0x2ec5aa0>

lifetime

Particle lifetime
Get Method:
<functools.partial object at 0x2ecc4c8>
Set Method:
<functools.partial object at 0x2ecc520>

lifetime_random

Particle lifetime random modifier
Get Method:
<functools.partial object at 0x2ecc5d0>
Set Method:
<functools.partial object at 0x2ecc628>

num_particles

Size of the following array. (Maximum number of simultaneous active particles)
Get Method:
<functools.partial object at 0x2ecd680>
Set Method:
<functools.partial object at 0x2ecd6d8>

num_valid

Number of valid entries in the following array. (Number of active particles at the time the system was saved)
Get Method:
<functools.partial object at 0x2ecd788>
Set Method:
<functools.partial object at 0x2ecd7e0>

old_emit_rate

Particle emission rate in old files
Get Method:
<functools.partial object at 0x2ecc2b8>
Set Method:
<functools.partial object at 0x2ecc310>

old_speed

Particle speed in old files
Get Method:
<functools.partial object at 0x2ec5520>
Set Method:
<functools.partial object at 0x2ec5578>

particle_extra

Link to some optional particle modifiers (NiGravity, NiParticleGrowFade, NiParticleBomb, ...)
Get Method:
<functools.partial object at 0x2ecda48>
Set Method:
<functools.partial object at 0x2ecdaa0>

particle_lifetime

The particle's age.
Get Method:
<functools.partial object at 0x2ecd158>
Set Method:
<functools.partial object at 0x2ecd1b0>

particle_link

Get Method:
<functools.partial object at 0x2ecd260>
Set Method:
<functools.partial object at 0x2ecd2b8>

particle_timestamp

Timestamp of the last update.
Get Method:
<functools.partial object at 0x2ecd368>
Set Method:
<functools.partial object at 0x2ecd3c0>

particle_unknown_short

Unknown short
Get Method:
<functools.partial object at 0x2ecd470>
Set Method:
<functools.partial object at 0x2ecd4c8>

particle_unknown_vector

Unknown
Get Method:
<functools.partial object at 0x2ecd050>
Set Method:
<functools.partial object at 0x2ecd0a8>

particle_velocity

Particle velocity
Get Method:
<functools.partial object at 0x2eccf18>
Set Method:
<functools.partial object at 0x2eccf70>

particle_vertex_id

Particle/vertex index matches array index
Get Method:
<functools.partial object at 0x2ecd578>
Set Method:
<functools.partial object at 0x2ecd5d0>

particles

Individual particle modifiers?
Get Method:
<functools.partial object at 0x2ecd890>

size

Particle size
Get Method:
<functools.partial object at 0x2ec5e68>
Set Method:
<functools.partial object at 0x2ec5ec0>

speed

Particle speed
Get Method:
<functools.partial object at 0x2ec5628>
Set Method:
<functools.partial object at 0x2ec5680>

speed_random

Particle random speed modifier
Get Method:
<functools.partial object at 0x2ec5730>
Set Method:
<functools.partial object at 0x2ec5788>

start_random

Particle random start translation vector
Get Method:
<functools.partial object at 0x2ecc7e0>
Set Method:
<functools.partial object at 0x2ecc838>

trailer

Trailing null byte
Get Method:
<functools.partial object at 0x2ecdc58>
Set Method:
<functools.partial object at 0x2ecdcb0>

unknown_byte

Unknown byte, (=0)
Get Method:
<functools.partial object at 0x2ecc1b0>
Set Method:
<functools.partial object at 0x2ecc208>

unknown_color

Unknown.
Get Method:
<functools.partial object at 0x2ec5d60>
Set Method:
<functools.partial object at 0x2ec5db8>

unknown_float_1

Get Method:
<functools.partial object at 0x2ecde68>
Set Method:
<functools.partial object at 0x2ecdec0>

unknown_float_13

? float=1.0 ?
Get Method:
<functools.partial object at 0x2eccaf8>
Set Method:
<functools.partial object at 0x2eccb50>

unknown_floats_2

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

unknown_int_1

? int=1 ?
Get Method:
<functools.partial object at 0x2eccc00>
Set Method:
<functools.partial object at 0x2eccc58>

unknown_int_2

? int=0 ?
Get Method:
<functools.partial object at 0x2eccd08>
Set Method:
<functools.partial object at 0x2eccd60>

unknown_link

unknown int (=0xffffffff)
Get Method:
<functools.partial object at 0x2ecd940>
Set Method:
<functools.partial object at 0x2ecd998>

unknown_link_2

Unknown int (=0xffffffff)
Get Method:
<functools.partial object at 0x2ecdb50>
Set Method:
<functools.partial object at 0x2ecdba8>

unknown_normal

Unknown.
Get Method:
<functools.partial object at 0x2ec5c58>
Set Method:
<functools.partial object at 0x2ec5cb0>

unknown_short_2

? short=0 ?
Get Method:
<functools.partial object at 0x2ecc9f0>
Set Method:
<functools.partial object at 0x2ecca48>

unknown_short_3

? short=0 ?
Get Method:
<functools.partial object at 0x2ecce10>
Set Method:
<functools.partial object at 0x2ecce68>

vertical_angle

emitter's vertical opening angle [radians]
Get Method:
<functools.partial object at 0x2ec5940>
Set Method:
<functools.partial object at 0x2ec5998>

vertical_direction

vertical emit direction [radians]0.0 : up1.6 : horizontal3.1416 : down
Get Method:
<functools.partial object at 0x2ec5838>
Set Method:
<functools.partial object at 0x2ec5890>