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

Class NiTextureEffect

source code

                  object --+                                        
                           |                                        
      utils.graph.DetailNode --+                                    
                               |                                    
          utils.graph.GlobalNode --+                                
                                   |                                
object_models.xml.struct_.StructBase --+                            
                                       |                            
                     NifFormat._NiObject --+                        
                                           |                        
                          NifFormat.NiObject --+                    
                                               |                    
                          NifFormat._NiObjectNET --+                
                                                   |                
                               NifFormat.NiObjectNET --+            
                                                       |            
                                   NifFormat._NiAVObject --+        
                                                           |        
                                        NifFormat.NiAVObject --+    
                                                               |    
                                       NifFormat.NiDynamicEffect --+
                                                                   |
                                                                  NifFormat.NiTextureEffect

Enables environment mapping. Should be in both the children list and effects list of the NiTriShape object. For Morrowind: the bump map can be used to bump the environment map (note that the bump map is ignored if no NiTextureEffect object is present).
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from NiAVObject: add_property, apply_scale, get_properties, get_transform, remove_property, set_properties, set_transform

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: 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 NiDynamicEffect (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]
  clipping_plane
Determines whether a clipping plane is used.
  coordinate_generation_type
The method that will be used to generate UV coordinates for the texture effect.
  image
Image index.
  model_projection_matrix
Model projection matrix.
  model_projection_transform
Model projection transform.
  ps_2_k
-75?
  ps_2_l
0?
  source_texture
Source texture index.
  texture_clamping
Texture Clamp mode.
  texture_filtering
Texture Filtering mode.
  texture_type
The type of effect that the texture is used for.
  unknown
  unknown_float
Unknown.
  unknown_short
Unknown: 0.
  unknown_vector
Unknown: (1,0,0)?

Inherited from NiDynamicEffect: affected_node_list_pointers, affected_nodes, num_affected_node_list_pointers, num_affected_nodes, switch_state

Inherited from _NiAVObject: bounding_box, collision_object, flags, has_bounding_box, num_properties, properties, rotation, scale, translation, unknown_1, unknown_2, unknown_short_1, velocity

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 0x2facb90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2facc10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2facd10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2facd50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2facd90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2facdd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2face10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2faced0>,
...

_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]

clipping_plane

Determines whether a clipping plane is used. 0 means that a plane is not used.
Get Method:
<functools.partial object at 0x2fb4f18>
Set Method:
<functools.partial object at 0x2fb4f70>

coordinate_generation_type

The method that will be used to generate UV coordinates for the texture effect.
Get Method:
<functools.partial object at 0x2fb4c00>
Set Method:
<functools.partial object at 0x2fb4c58>

image

Image index.
Get Method:
<functools.partial object at 0x2fb4d08>
Set Method:
<functools.partial object at 0x2fb4d60>

model_projection_matrix

Model projection matrix. Always identity?
Get Method:
<functools.partial object at 0x2fb45d0>
Set Method:
<functools.partial object at 0x2fb4628>

model_projection_transform

Model projection transform. Always (0,0,0)?
Get Method:
<functools.partial object at 0x2fb46d8>
Set Method:
<functools.partial object at 0x2fb4730>

ps_2_k

-75?
Get Method:
<functools.partial object at 0x2fb7368>
Set Method:
<functools.partial object at 0x2fb73c0>

ps_2_l

0?
Get Method:
<functools.partial object at 0x2fb7260>
Set Method:
<functools.partial object at 0x2fb72b8>

source_texture

Source texture index.
Get Method:
<functools.partial object at 0x2fb4e10>
Set Method:
<functools.partial object at 0x2fb4e68>

texture_clamping

Texture Clamp mode.
Get Method:
<functools.partial object at 0x2fb48e8>
Set Method:
<functools.partial object at 0x2fb4940>

texture_filtering

Texture Filtering mode.
Get Method:
<functools.partial object at 0x2fb47e0>
Set Method:
<functools.partial object at 0x2fb4838>

texture_type

The type of effect that the texture is used for.
Get Method:
<functools.partial object at 0x2fb4af8>
Set Method:
<functools.partial object at 0x2fb4b50>

unknown

Get Method:
<functools.partial object at 0x2fb49f0>
Set Method:
<functools.partial object at 0x2fb4a48>

unknown_float

Unknown. 0?
Get Method:
<functools.partial object at 0x2fb7158>
Set Method:
<functools.partial object at 0x2fb71b0>

unknown_short

Unknown: 0.
Get Method:
<functools.partial object at 0x2fb7470>
Set Method:
<functools.partial object at 0x2fb74c8>

unknown_vector

Unknown: (1,0,0)?
Get Method:
<functools.partial object at 0x2fb7050>
Set Method:
<functools.partial object at 0x2fb70a8>