Home | Trees | Indices | Help |
|
---|
|
object --+ | Spell --+ | NifSpell --+ | SpellExportPixelData
Export embedded images as DDS files. If the toaster's --dryrun option is enabled, the image is written to a temporary file, otherwise, if no further path information is stored in the nif, it is written to <nifname>-pixeldata-<n>.dds. If a path is stored in the nif, then the original file path is used.
The --arg option is used to strip the folder part of the path and to replace it with something else (this is sometimes useful, such as in Bully nft files).
The file extension is forced to .dds.
|
|||
|
|||
bool |
|
||
bool |
|
||
bool |
|
||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|||
Inherited from |
|
|||
|
|
|||
SPELLNAME =
A str describing how to refer to the spell from the command line. |
|||
Inherited from |
|
|||
pixeldata_counter Increments on each pixel data block. |
|
|||
Inherited from |
|
|
|
|
Cast the spell on the given branch. First called with branch equal to data's children, then the grandchildren, and so on. The default implementation simply returns True. Typically, you will override this function to perform an operation on a particular block type and/or to stop recursion at particular block types.
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 10 19:04:00 2011 | http://epydoc.sourceforge.net |