TXMT/Parameters/stdMatTextureCoordAnimMode

From SimsWiki
Jump to: navigation, search

Links back to the txmt Parameter Listings

* Alphabetically Sequenced List

* Categorised List

Contents

(MATD/txmt) property parameter: standard material: stdMatTextureCoordAnimMode

Parameter Type

[e] string / text


TXMT/MATD Parameter Group


Known designed values:

  • none
no textural animation
  • tile
tiled base textures with the animation frames in each specified cells
  • transform
translational animation actually including, simple translation, rotation, and re-scaling
  • video
usage unknown

Common Notes

  • Type of texture coordinate animation


Common Default Value(s)

  • none
  • tile


Sources

de the EP0-TS2 material shader file "standarddefinitions.matShad" internally named "Predefined constants" with T-G-H-I 0xCD7FE87A 0x1C0532FA 0x32735013 0xFF25EEC1

# Macros for setting texture stage state for standard materials.

define StandardShaderTextureState(type)
   texture $stdMat&{type}TextureName ${stdMat&{type}TextureParam}
   ffTextureCoordsSource 0
   textureAddressing $stdMat&{type}TextureAddressingU $stdMat&{type}TextureAddressingV $stdMat&{type}TextureAddressingW

   if (strcmp("${stdMatTextureCoordAnimMode}", "tile") = 0)
	  textureTileAnimation	$stdMatTextureCoordTileAnimSpeed -tiles	$stdMatTextureCoordAnimNumTiles	-targetType	fixedFunction
   elseif (strcmp("${stdMatTextureCoordAnimMode}", "transform")	= 0)
	  textureMatrixAnimation -targetType fixedFunction -aorigin	$stdMatTextureCoordTfAnimOrigin	-arot $stdMatTextureCoordTfAnimRotWaveform $stdMatTextureCoordTfAnimRotSpeed 0 $stdMatTextureCoordTfAnimRotStartEnd	-ascale	$stdMatTextureCoordTfAnimScaleWaveform $stdMatTextureCoordTfAnimScaleSpeed 0 $stdMatTextureCoordTfAnimScaleStartEnd	-atrans	$stdMatTextureCoordTfAnimTransWaveform $stdMatTextureCoordTfAnimTransSpeed 0 $stdMatTextureCoordTfAnimTransStart $stdMatTextureCoordTfAnimTransEnd
   elseif (strcmp("${stdMatTextureCoordAnimMode}", "video")	= 0)
	  trace("+++++++++++++++++++++++++++++++++++++++++++++\n")
	  sendNotifyString $shaderNotifyString
   endif
enddef

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox