User Guide

Shaders 355
textureMode
List[index]
Get and set This property allows access to the
texture coordinate generation method
used for a texture at the texture level and
then to allows you to change how
textures are applied to a model’s
surface. The property can take the
following values:
#none
#wrapPlanar
#wrapCylindrical
#wrapSpherical
#reflection
#diffuseLight
#specularLight
#none
textureMode
List
Get and set Get: Returns a list of texture coordinate
generation methods, one per layer.
Set: Specifies texture coordinate
generation modes to be applied to all
layers.
Possible values are as follows:
#none
#wrapPlanar
#wrapCylindrical
#wrapSpherical
#reflection
#diffuseLight
#specularLight
#none
textureMode
Get and set Access to the texture coordinate
generation method for the first layer.
Possible values are as follows:
#none
#wrapPlanar
#wrapCylindrical
#wrapSpherical
#reflection
#diffuseLight
#specularLight
#none
wrapTransform
List[index]
Get and set Access to the texture coordinate
generation transform associated with a
specified layer. This transformation has
effect only if the
textureModeList[index] is
#wrapPlanar, #wrapSpherical, or
#wrapCylindrical.
Controls the orientation of texture
coordinate generation in model-relative
space.
Use this property to change the
orientation, offset, and scale of how the
wrapTransformList[index] is applied on
the model.
transform(50.0
000,0.0000,0.0
000,0.0000,
0.0000,50.0000
,0.0000,0.0000
,
0.0000,0.0000,
50.0000,0.0000
,
0.0000,0.0000,
0.0000,1.0000)
Property Name Access Description Default