
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
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...