Difference between revisions of "NiTexturingPropertyGetTextureClampMode"

Jump to navigation Jump to search
NiTextureSource ->NiSourceTexture
imported>DragoonWraith
(New page: This is a command from NifSE. '''Syntax''' (short:clampMode) NiTexturingPropertyGetTextureClampMode short:texSlot short:nifID ''short:blockID'' (short:clampMode) NiT...)
 
imported>DragoonWraith
(NiTextureSource ->NiSourceTexture)
Line 5: Line 5:
  (short:clampMode) NiTexPropGetTexClamp short:texSlot short:nifID ''short:blockID''
  (short:clampMode) NiTexPropGetTexClamp short:texSlot short:nifID ''short:blockID''


Returns a short value which indicates the clamp mode of the [[:Category:NifSE (NiTextureSource)|<tt>NiTextureSource</tt>]]-derived block that is filling the specified <tt>texSlot</tt>. The texture slots range from 0 to [[NiTexturingPropertyGetTextureCount]], and the possible choices are given below. See [[NiTexturingPropertyGetTextureCount]] for more details.
Returns a short value which indicates the clamp mode of the [[:Category:NifSE (NiSourceTexture)|<tt>NiSourceTexture</tt>]]-derived block that is filling the specified <tt>texSlot</tt>. The texture slots range from 0 to [[NiTexturingPropertyGetTextureCount]], and the possible choices are given below. See [[NiTexturingPropertyGetTextureCount]] for more details.


The possible values for clamp mode tell whether each of the S(U) and T(V) directions are clamped or wrapped, as follows:
The possible values for clamp mode tell whether each of the S(U) and T(V) directions are clamped or wrapped, as follows:

Navigation menu