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

Class NiStencilProperty

source code

                  object --+                                
                           |                                
      utils.graph.DetailNode --+                            
                               |                            
          utils.graph.GlobalNode --+                        
                                   |                        
object_models.xml.struct_.StructBase --+                    
                                       |                    
                     NifFormat._NiObject --+                
                                           |                
                          NifFormat.NiObject --+            
                                               |            
                          NifFormat._NiObjectNET --+        
                                                   |        
                               NifFormat.NiObjectNET --+    
                                                       |    
                                    NifFormat.NiProperty --+
                                                           |
                                                          NifFormat.NiStencilProperty

Allows control of stencil testing.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from NiObjectNET: add_controller, add_extra_data, add_integer_extra_data, get_controllers, get_extra_datas, remove_extra_data, set_extra_datas

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', 'has_old_extra_data', 'old_extra_prop_name',...

Inherited from NiProperty (private): _games, _is_template

Inherited from _NiObjectNET (private): _has_links, _has_refs, _has_strings

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  draw_mode
Used to enabled double sided faces.
  fail_action
  flags
Property flags:Bit 0: Stencil EnableBits 1-3: Fail ActionBits 4-6: Z Fail ActionBits 7-9: Pass ActionBits 10-11: Draw ModeBits 12-14: Stencil Function
  pass_action
  stencil_enabled
Enables or disables the stencil test.
  stencil_function
Selects the compare mode function (see: glStencilFunc).
  stencil_mask
A bit mask.
  stencil_ref
Unknown.
  z_fail_action

Inherited from _NiObjectNET: controller, extra_data, extra_data_list, has_old_extra_data, name, num_extra_data_list, old_extra_internal_id, old_extra_prop_name, old_extra_string, unknown_byte

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2db5cd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5d10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5d90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5e90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5f90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbb050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbb090>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbb0d0>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2fac350>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fac410>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fac450>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fac490>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fac510>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fac550>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fac590>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fac5d0>,
...

_names

Value:
['name',
 'has_old_extra_data',
 'old_extra_prop_name',
 'old_extra_internal_id',
 'old_extra_string',
 'unknown_byte',
 'extra_data',
 'num_extra_data_list',
...

Property Details [hide private]

draw_mode

Used to enabled double sided faces. Default is 3 (DRAW_BOTH).
Get Method:
<functools.partial object at 0x2fafa48>
Set Method:
<functools.partial object at 0x2fafaa0>

fail_action

Get Method:
<functools.partial object at 0x2faf730>
Set Method:
<functools.partial object at 0x2faf788>

flags

Property flags:Bit 0: Stencil EnableBits 1-3: Fail ActionBits 4-6: Z Fail ActionBits 7-9: Pass ActionBits 10-11: Draw ModeBits 12-14: Stencil Function
Get Method:
<functools.partial object at 0x2fafb50>
Set Method:
<functools.partial object at 0x2fafba8>

pass_action

Get Method:
<functools.partial object at 0x2faf940>
Set Method:
<functools.partial object at 0x2faf998>

stencil_enabled

Enables or disables the stencil test.
Get Method:
<functools.partial object at 0x2faf310>
Set Method:
<functools.partial object at 0x2faf368>

stencil_function

Selects the compare mode function (see: glStencilFunc).
Get Method:
<functools.partial object at 0x2faf418>
Set Method:
<functools.partial object at 0x2faf470>

stencil_mask

A bit mask. The default is 0xffffffff.
Get Method:
<functools.partial object at 0x2faf5d0>
Set Method:
<functools.partial object at 0x2faf578>

stencil_ref

Unknown. Default is 0.
Get Method:
<functools.partial object at 0x2faf2b8>
Set Method:
<functools.partial object at 0x2faf260>

z_fail_action

Get Method:
<functools.partial object at 0x2faf838>
Set Method:
<functools.partial object at 0x2faf890>