User Guide
356 Chapter 16: Working with Models and Model Resources
wrapTransform
List
Get and set Controls the orientation of UV
generation in model space.
Get: Returns a list of texture coordinate
generation transforms, one per layer.
Set: Specifies a texture coordinate
generation transform to be applied to all
layers.
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)
wrapTransform
Get and set Access to the texture coordinate
generation transform for the first layer.
Controls the orientation of the UV
generation in model space.
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)
texture
TransformList
Get and set Access to the list of texture coordinate
modifier transforms, one per texturing
layer.
The
textureTransform is applied to all
texture coordinates regardless of the
textureMode property setting. This is the
last modification of the texture
coordinates before they are sent to the
renderer. Allows you to manipulate the
scale, orientation, and positional offsets
of the source image before it’s wrapped.
WrapTransformList changes the
projection of the transformed texture.
The
textureTransform matrix operates
on the texture in
textureImage space,
which is defined to exist only on the x,y
plane. Rotations about the z-axis are
rotated around the
(0,0) point, which
maps to the upper left corner of the
texture. Translating by integers when
textureRepeat is TRUE (1) has no effect,
because the width and height of the
textures are defined to be
1.0 in
textureImage space. Care must be
taken not to scale any dimension (even
z) by
0.
Identity
transform
textureTransform
List[index]
Get and set Access to the texture coordinate
modifier transform associated with a
specified layer.
Identity
transform
texture
Transform
Get and set Access to the texture coordinate
modifier transform for the first layer.
Identity
transform
Property Name Access Description Default