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

Class NiSourceTexture

source code

                  object --+                                
                           |                                
      utils.graph.DetailNode --+                            
                               |                            
          utils.graph.GlobalNode --+                        
                                   |                        
object_models.xml.struct_.StructBase --+                    
                                       |                    
                     NifFormat._NiObject --+                
                                           |                
                          NifFormat.NiObject --+            
                                               |            
                          NifFormat._NiObjectNET --+        
                                                   |        
                               NifFormat.NiObjectNET --+    
                                                       |    
                                     NifFormat.NiTexture --+
                                                           |
                                                          NifFormat.NiSourceTexture
Known Subclasses:

Describes texture source and properties.
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 NiTexture (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]
  alpha_format
Note: the NiTriShape linked to this object must have a NiAlphaProperty in its list of properties to enable material and/or texture transparency.
  direct_render
Load direct to renderer
  file_name
The original source filename of the image embedded by the referred NiPixelData object.
  is_static
Is Static?
  persist_render_data
Render data is persistant
  pixel_data
Pixel data object index.
  pixel_layout
Specifies the way the image will be stored.
  unknown_byte
Unknown.
  unknown_link
Unknown.
  use_external
Is the texture external?
  use_mipmaps
Specifies whether mip maps are used.

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

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 0x2f942d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa69d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6a50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6c50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6cd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6d90>,
...

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

alpha_format

Note: the NiTriShape linked to this object must have a NiAlphaProperty in its list of properties to enable material and/or texture transparency.
Get Method:
<functools.partial object at 0x2fab050>
Set Method:
<functools.partial object at 0x2fab0a8>

direct_render

Load direct to renderer
Get Method:
<functools.partial object at 0x2fab260>
Set Method:
<functools.partial object at 0x2fab2b8>

file_name

The original source filename of the image embedded by the referred NiPixelData object.
Get Method:
<functools.partial object at 0x2fa8d08>
Set Method:
<functools.partial object at 0x2fa8d60>

is_static

Is Static?
Get Method:
<functools.partial object at 0x2fab158>
Set Method:
<functools.partial object at 0x2fab1b0>

persist_render_data

Render data is persistant
Get Method:
<functools.partial object at 0x2fab368>
Set Method:
<functools.partial object at 0x2fab3c0>

pixel_data

Pixel data object index. NiPixelData or NiPersistentSrcTextureRendererData
Get Method:
<functools.partial object at 0x2fa8aa0>
Set Method:
<functools.partial object at 0x2fa8a48>

pixel_layout

Specifies the way the image will be stored.
Get Method:
<functools.partial object at 0x2fa8e10>
Set Method:
<functools.partial object at 0x2fa8e68>

unknown_byte

Unknown. Seems to be set if Pixel Data is present?
Get Method:
<functools.partial object at 0x2fa8c00>
Set Method:
<functools.partial object at 0x2fa8c58>

unknown_link

Unknown.
Get Method:
<functools.partial object at 0x2fa8af8>
Set Method:
<functools.partial object at 0x2fa8b50>

use_external

Is the texture external?
Get Method:
<functools.partial object at 0x2fa88e8>
Set Method:
<functools.partial object at 0x2fa8940>

use_mipmaps

Specifies whether mip maps are used.
Get Method:
<functools.partial object at 0x2fa8f18>
Set Method:
<functools.partial object at 0x2fa8f70>