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

Class NiTexturingProperty

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.NiTexturingProperty

Describes an object's textures.
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]
  apply_mode
Determines how the texture will be applied.
  base_texture
The base texture.
  bump_map_luma_offset
Unknown.
  bump_map_luma_scale
Unknown.
  bump_map_matrix
Unknown.
  bump_map_texture
The bump map texture.
  dark_texture
The dark texture.
  decal_0_texture
The decal texture.
  decal_1_texture
Another decal texture.
  decal_2_texture
Another decal texture.
  decal_3_texture
Another decal texture.
  detail_texture
The detail texture.
  flags
Property flags.
  gloss_texture
The gloss texture.
  glow_texture
The glowing texture.
  has_base_texture
Do we have a base texture?
  has_bump_map_texture
Do we have a bump map texture?
  has_dark_texture
Do we have a dark texture?
  has_decal_0_texture
Do we have a decal 0 texture?
  has_decal_1_texture
Do we have a decal 1 texture?
  has_decal_2_texture
Do we have a decal 2 texture?
  has_decal_3_texture
Do we have a decal 3 texture?
  has_detail_texture
Do we have a detail texture?
  has_gloss_texture
Do we have a gloss texture?
  has_glow_texture
Do we have a glow texture?
  has_normal_texture
Do we have a normal texture? (Noraml guess based on file suffix in sample files)
  has_unknown_2_texture
Do we have a unknown texture 2?
  normal_texture
Normal texture.
  num_shader_textures
Number of Shader textures that follow.
  shader_textures
Shader textures.
  texture_count
Number of textures.
  unknown_2_float
Unknown.
  unknown_2_texture
Unknown texture 2.

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 0x2fb5b10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fb5b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fb5bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fb5b90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fb5c10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fb5cd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fb5d50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fb5dd0>,
...

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

apply_mode

Determines how the texture will be applied. Seems to have special functions in Oblivion.
Get Method:
<functools.partial object at 0x2fb9890>
Set Method:
<functools.partial object at 0x2fb9838>

base_texture

The base texture.
Get Method:
<functools.partial object at 0x2fb9c00>
Set Method:
<functools.partial object at 0x2fb9c58>

bump_map_luma_offset

Unknown.
Get Method:
<functools.partial object at 0x2fbf890>
Set Method:
<functools.partial object at 0x2fbf8e8>

bump_map_luma_scale

Unknown.
Get Method:
<functools.partial object at 0x2fbf788>
Set Method:
<functools.partial object at 0x2fbf7e0>

bump_map_matrix

Unknown.
Get Method:
<functools.partial object at 0x2fbf998>
Set Method:
<functools.partial object at 0x2fbf9f0>

bump_map_texture

The bump map texture.
Get Method:
<functools.partial object at 0x2fbf680>
Set Method:
<functools.partial object at 0x2fbf6d8>

dark_texture

The dark texture.
Get Method:
<functools.partial object at 0x2fb9e10>
Set Method:
<functools.partial object at 0x2fb9e68>

decal_0_texture

The decal texture.
Get Method:
<functools.partial object at 0x3065100>
Set Method:
<functools.partial object at 0x3065158>

decal_1_texture

Another decal texture.
Get Method:
<functools.partial object at 0x30652b8>
Set Method:
<functools.partial object at 0x3065260>

decal_2_texture

Another decal texture.
Get Method:
<functools.partial object at 0x30654c8>
Set Method:
<functools.partial object at 0x3065470>

decal_3_texture

Another decal texture. Who knows the limit.
Get Method:
<functools.partial object at 0x30656d8>
Set Method:
<functools.partial object at 0x3065680>

detail_texture

The detail texture.
Get Method:
<functools.partial object at 0x2fbf050>
Set Method:
<functools.partial object at 0x2fbf0a8>

flags

Property flags.
Get Method:
<functools.partial object at 0x2fb98e8>
Set Method:
<functools.partial object at 0x2fb9940>

gloss_texture

The gloss texture.
Get Method:
<functools.partial object at 0x2fbf260>
Set Method:
<functools.partial object at 0x2fbf2b8>

glow_texture

The glowing texture.
Get Method:
<functools.partial object at 0x2fbf470>
Set Method:
<functools.partial object at 0x2fbf4c8>

has_base_texture

Do we have a base texture?
Get Method:
<functools.partial object at 0x2fb9af8>
Set Method:
<functools.partial object at 0x2fb9b50>

has_bump_map_texture

Do we have a bump map texture?
Get Method:
<functools.partial object at 0x2fbf578>
Set Method:
<functools.partial object at 0x2fbf5d0>

has_dark_texture

Do we have a dark texture?
Get Method:
<functools.partial object at 0x2fb9d08>
Set Method:
<functools.partial object at 0x2fb9d60>

has_decal_0_texture

Do we have a decal 0 texture?
Get Method:
<functools.partial object at 0x2fbffc8>
Set Method:
<functools.partial object at 0x3065050>

has_decal_1_texture

Do we have a decal 1 texture?
Get Method:
<functools.partial object at 0x3065310>
Set Method:
<functools.partial object at 0x3065368>

has_decal_2_texture

Do we have a decal 2 texture?
Get Method:
<functools.partial object at 0x3065520>
Set Method:
<functools.partial object at 0x3065578>

has_decal_3_texture

Do we have a decal 3 texture?
Get Method:
<functools.partial object at 0x3065730>
Set Method:
<functools.partial object at 0x3065788>

has_detail_texture

Do we have a detail texture?
Get Method:
<functools.partial object at 0x2fb9f18>
Set Method:
<functools.partial object at 0x2fb9f70>

has_gloss_texture

Do we have a gloss texture?
Get Method:
<functools.partial object at 0x2fbf158>
Set Method:
<functools.partial object at 0x2fbf1b0>

has_glow_texture

Do we have a glow texture?
Get Method:
<functools.partial object at 0x2fbf368>
Set Method:
<functools.partial object at 0x2fbf3c0>

has_normal_texture

Do we have a normal texture? (Noraml guess based on file suffix in sample files)
Get Method:
<functools.partial object at 0x2fbfaa0>
Set Method:
<functools.partial object at 0x2fbfaf8>

has_unknown_2_texture

Do we have a unknown texture 2?
Get Method:
<functools.partial object at 0x2fbfcb0>
Set Method:
<functools.partial object at 0x2fbfd08>

normal_texture

Normal texture.
Get Method:
<functools.partial object at 0x2fbfba8>
Set Method:
<functools.partial object at 0x2fbfc00>

num_shader_textures

Number of Shader textures that follow.
Get Method:
<functools.partial object at 0x3065838>
Set Method:
<functools.partial object at 0x3065890>

shader_textures

Shader textures.
Get Method:
<functools.partial object at 0x3065940>

texture_count

Number of textures. Always 7 in versions<20.0.0.4. Can also be 8 in>= 20.0.0.4.
Get Method:
<functools.partial object at 0x2fb99f0>
Set Method:
<functools.partial object at 0x2fb9a48>

unknown_2_float

Unknown.
Get Method:
<functools.partial object at 0x2fbfec0>
Set Method:
<functools.partial object at 0x2fbff18>

unknown_2_texture

Unknown texture 2.
Get Method:
<functools.partial object at 0x2fbfdb8>
Set Method:
<functools.partial object at 0x2fbfe10>