658
textureModeList
Syntax
member(
whichCastmember
).shader(
whichShader
).textureModeList
member(
whichCastmember
).shader(
whichShader
).
textureModeList[
textureLayerIndex
]
member(
whichCastmember
).model(
whichModel
).shader.textureModeList
member(
whichCastmember
).model(
whichModel
).shader.
textureModeList[
textureLayerndex
]
Description
3D standard shader property; allows you to change how a textureLayer is mapped onto the
surface of a model. This property is ignored if the
#toon
modifier is applied to the model resource.
Possible values are as follows:
•
#none
uses the texture coordinate values originally defined for the model resource. This setting
disables
wrapTransform and wrapTransformList
[textureLayerIndex]
.
•
#wrapPlanar
wraps the texture on the model surface as though it were being projected from
an overhead projector. The shader’s
wrapTransformList
[textureLayerIndex]
is applied to the mapping space before the texture coordinates are
generated in model space. With an identity
wrapTransform
List[textureLayerIndex]
(the default), the planar mapping is oriented such that the
texture is extruded along the Z axis with the texture’s up direction along the Y axis.
•
#wrapCylindrical
wraps the texture around the surface as though the surface were placed in the
middle of the texture and then the texture were rolled around the surface to form a cylinder.
The
wrapTransformList
[textureLayerIndex]
is applied to the mapping space before the texture coordinates are
generated in model space. With an identity
wrapTransform
List[textureLayerIndex]
(the default), the cylindrical mapping is oriented such that the
texture is wrapped from the -Y axis, starting at the left edge of the texture, toward the +X axis,
around the Z axis. The up direction of the texture is toward the +Z axis.
•
#wrapSpherical
wraps the texture around the surface as though the surface were placed in the
middle of the texture and then all four corners of the texture were pulled up to meet at the top.
The
wrapTransformList
[textureLayerIndex]
is applied to the mapping space before the texture coordinates are
generated in model space. With an identity
wrapTransform
List[textureLayerIndex]
, the spherical mapping is located at the model space origin and
oriented such that the texture is wrapped from the -Y axis, starting at the left edge of the
texture, toward the +X axis, around the Z axis. The up direction of the texture is toward the +Z
axis.
•
#reflection
is similar to
#wrapSpherical
except that the new texture coordinates are
continuously reprojected onto the surface from a fixed orientation. When the model rotates,
the texture coordinates will not rotate with it. Simulates light reflected on an object by its
environment. This setting disables
wrapTransform
.
•
#diffuseLight
generates diffuse light mapping texture coordinate values, one per vertex, and
stores the results in the referenced mesh. This setting disables
wrapTransform
.
•
#specularLight
generates specular light mapping texture coordinate values, one per vertex, and
stores the results in the referenced mesh. This setting disables
wrapTransform
.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...