Difference between revisions of "NiTexturingPropertyAddTextureSource"

Jump to navigation Jump to search
typo
imported>DragoonWraith
imported>DragoonWraith
(typo)
 
(bool:success) NiTexPropAddTexSrc string:filename short:texSlot short:nifID ''short:blockID''
 
Adds a [[:Category:NifSE (NiSourceTexture)|<tt>NiSourceTexture</tt>]] block using the given filename, and sets it to be used in the given <tt>texSlot</tt>. The file should be specified relative to the <tt>Oblivion\Data\Textures\</tt> folder (so "<tt>weapons\SteelClaymore02.dds</tt>" should be passed if you wish to add the <tt>Oblivion\Data\Textures\weapons\SteelClaymore02.dds</tt> file to the nif). This matches the format used by [[NiSourceTextureGetFile]]. The texture slots range from 0 to [[NiTexturingPropertyAddTextureCountNiTexturingPropertyGetTextureCount]], and the possible choices are given below. See [[NiTexturingPropertyAddTextureCountNiTexturingPropertyGetTextureCount]] for more details.
 
Returns 0 if the function fails for whatever reason, 1 otherwise.

Navigation menu