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

Class bhkPrismaticConstraint

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._bhkConstraint --+    
                                                               |    
                                         NifFormat.bhkConstraint --+
                                                                   |
                                                                  NifFormat.bhkPrismaticConstraint

A prismatic constraint.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from bhkConstraint: get_transform_a_b

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...
  _games = {}
  _is_template = False
  _names = ['num_entities', 'entities', 'priority', 'pivot_a', '...

Inherited from _bhkConstraint (private): _has_links

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  friction
Friction.
  max_distance
Describe the max distance the object is able to travel.
  min_distance
Describe the min distance the object is able to travel.
  pivot_a
Pivot.
  pivot_b
Pivot in B coordinates.
  plane_a
Plane normal.
  plane_b
Plane normal.
  rotation_a
Rotation axis.
  rotation_b
Rotation axis.
  rotation_matrix_a
4x4 rotation matrix, rotates the child entity.
  sliding_a
Describes the axis the object is able to travel along.
  sliding_b
Describes the axis the object is able to travel along in B coordinates.
  unknown_byte_1
Unknown.

Inherited from _bhkConstraint: entities, num_entities, priority

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2ce5310>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cf23d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cf2450>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ce5310>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cf23d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cf2450>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cf2bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cf2f90>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2cf2bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cf2f90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cfa050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cfa090>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cfa110>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cfa150>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cfa190>,
 <pyffi.object_models.xml.StructAttribute object at 0x2cfa1d0>,
...

_names

Value:
['num_entities',
 'entities',
 'priority',
 'pivot_a',
 'rotation_matrix_a',
 'pivot_b',
 'sliding_b',
 'plane_b',
...

Property Details [hide private]

friction

Friction.
Get Method:
<functools.partial object at 0x2cfc4c8>
Set Method:
<functools.partial object at 0x2cfc520>

max_distance

Describe the max distance the object is able to travel.
Get Method:
<functools.partial object at 0x2cfc3c0>
Set Method:
<functools.partial object at 0x2cfc418>

min_distance

Describe the min distance the object is able to travel.
Get Method:
<functools.partial object at 0x2cf7c00>
Set Method:
<functools.partial object at 0x2cf7ba8>

pivot_a

Pivot.
Get Method:
<functools.partial object at 0x2cfc1b0>
Set Method:
<functools.partial object at 0x2cfc208>

pivot_b

Pivot in B coordinates.
Get Method:
<functools.partial object at 0x2cf7e10>
Set Method:
<functools.partial object at 0x2cf7db8>

plane_a

Plane normal. Describes the plane the object is able to move on.
Get Method:
<functools.partial object at 0x2cfc0a8>
Set Method:
<functools.partial object at 0x2cfc100>

plane_b

Plane normal. Describes the plane the object is able to move on in B coordinates.
Get Method:
<functools.partial object at 0x2cfc2b8>
Set Method:
<functools.partial object at 0x2cfc310>

rotation_a

Rotation axis.
Get Method:
<functools.partial object at 0x2cf7f70>
Set Method:
<functools.partial object at 0x2cf7fc8>

rotation_b

Rotation axis.
Get Method:
<functools.partial object at 0x2cf7d08>
Set Method:
<functools.partial object at 0x2cf7cb0>

rotation_matrix_a

4x4 rotation matrix, rotates the child entity.
Get Method:
<functools.partial object at 0x2cf7aa0>

sliding_a

Describes the axis the object is able to travel along. Unit vector.
Get Method:
<functools.partial object at 0x2cf7e68>
Set Method:
<functools.partial object at 0x2cf7ec0>

sliding_b

Describes the axis the object is able to travel along in B coordinates. Unit vector.
Get Method:
<functools.partial object at 0x2cf7a48>
Set Method:
<functools.partial object at 0x2cf79f0>

unknown_byte_1

Unknown. Do not set this to anything over 0 as it will crash the game.
Get Method:
<functools.partial object at 0x2cfc5d0>
Set Method:
<functools.partial object at 0x2cfc628>