User Guide

textureRepeatList 1035
textureRepeat
Usage
member(whichCastmember).shader(whichShader).textureRepeat
member(whichCastmember).model(whichModel).shader.textureRepeat
member(whichCastmember).model(whichModel).shaderList{[index]}.\
textureRepeat
Description
3D #standard shader property; controls the texture clamping behavior of the first texture layer of
the shader. Use the
textureRepeatList property to control this property for texture layers other
than the first layer.
When
textureRepeat is set to TRUE and the value of the x and/or y components of
shaderReference.textureTransform.scale is less than 1, the texture is tiled (repeated) across
the surface of the model.
When
textureRepeat is set to FALSE, the texture will not tile. If the value of the x and/or y
components of
shaderReference.textureTransform.scale is less than 1, any area of the
model not covered by the texture will be black. If the value of the x and/or y components of
shaderReference.textureTransform.scale is greater than 1, the texture is cropped as it
extends past the texture coordinate range.
The default value of this property is
TRUE. This property is always TRUE when using the
#software renderer.
Example
The following statement sets the textureRepeat property of the first shader used by the model
named gbCyl3 to
TRUE. The first texture in that shader will tile if the value of the x or y
component of its
textureTransform or textureTransformList property is less than 1.
member("scene").model("gbCyl3").shader.textureRepeat = TRUE
See also
textureTransform, textureTransformList
textureRepeatList
Usage
shaderReference.textureRepeatList[textureLayerIndex]
member(whichCastmember).shader(whichShader).textureRepeatList\
[textureLayerIndex]
member(whichCastmember).shader[shaderListIndex].textureRepeatList\
[textureLayerIndex]
member(whichCastmember).model(whichModel).shader.textureRepeatList\
[textureLayerIndex]
member(whichCastmember).model(whichModel).shaderList\
[shaderListIndex]. textureRepeatList[textureLayerIndex]