Working with Models and Model Resources
491
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
.0000,0.0000
,0.0000,0.00
00,
0.0000,50.00
00,0.0000,0.
0000,
0.0000,0.000
0,50.0000,0.
0000,
0.0000,0.000
0,0.0000,1.0
000)
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
.0000,0.0000
,0.0000,0.00
00,
0.0000,50.00
00,0.0000,0.
0000,
0.0000,0.000
0,50.0000,0.
0000,
0.0000,0.000
0,0.0000,1.0
000)
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
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...