Difference between revisions of "NiTexturingPropertySetTextureClampMode"

no edit summary
imported>DragoonWraith
(New page: This is a command from NifSE. '''Syntax''' (short:clampMode) NiTexturingPropertySetTextureClampMode short:texSlot short:nifID ''short:blockID'' (short:clampMode) NiT...)
 
imported>DragoonWraith
 
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (short:clampMode) NiTexturingPropertySetTextureClampMode short:texSlot short:nifID ''short:blockID''
  (bool:success) NiTexturingPropertySetTextureClampMode short:clampMode short:texSlot short:nifID ''short:blockID''
  (short:clampMode) NiTexPropSetTexClamp short:texSlot short:nifID ''short:blockID''
  (bool:success) NiTexPropSetTexClamp short:clampMode short:texSlot short:nifID ''short:blockID''


Sets 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 [[NiTexturingPropertySetTextureCount]], and the possible choices are given below. See [[NiTexturingPropertySetTextureCount]] for more details.
Sets 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: