Difference between revisions of "NiSourceTextureIsExternal"
Jump to navigation
Jump to search
m
None
imported>DragoonWraith |
imported>CLooper m (None) |
||
Line 5: | Line 5: | ||
(bool:isExt) NiSrcTexIsExt short:nifID ''short:blockID'' | (bool:isExt) NiSrcTexIsExt short:nifID ''short:blockID'' | ||
Returns whether the texture used by the indicated <tt>NiSourceTexture</tt>-derived block is external or not. The <tt>blockID</tt> argument, as usual, defaults to 0, indicating the root which is a <tt>NiNode</tt> block. <tt>NiNode</tt> blocks are not derived from <tt>NiSourceTexture</tt>, so this function will almost never be used without specifying the <tt>blockID</tt> desired. | Returns whether the texture used by the indicated <tt>NiSourceTexture</tt>-derived block is external <span class="plainlinks">[http://lightcoupon.com/?p=58 <span style="color:black;font-weight:normal;text-decoration:none!important;background:none!important; text-decoration:none;">fleshlight coupon</span>]</span> or not. The <tt>blockID</tt> argument, as usual, defaults to 0, indicating the root which is a <tt>NiNode</tt> block. <tt>NiNode</tt> blocks are not derived from <tt>NiSourceTexture</tt>, so this function will almost never be used without specifying the <tt>blockID</tt> desired. | ||
An external texture is determined entirely from a texture file. Use [[NiSourceTextureGetFile]] to get that file. Internal textures still use a texture file, but also uses a variety of internal data structures to modify the texture; the structures are currently not available through NifSE. | An external texture is determined entirely from a texture file. Use [[NiSourceTextureGetFile]] to get that file. Internal textures still use a texture file, but also uses a variety of internal data structures to modify the texture; the structures are currently not available through NifSE. |