
694
type (texture)
Syntax
member(
whichCastmember
).shader(
whichShader
).type
Description
3D texture property; the texture type of the referenced texture object. This property’s possible
values are:
•
#fromCastMember
indicates that this is texture was created from a Director cast member
supporting the
image
property using the
newTexture
command.
•
#fromImageObject
indicates that this is texture was created from an image object using the
newTexture
command.
•
#importedFromFile
indicates that this texture was created external to Director and created
upon file import or cast member loading.
Example
This statement shows that the texture used by the shader for the model named Pluto was created
from an image object:
put member("scene").model("Pluto").shader.texture.type
-- #fromImageObject
See also
newTexture
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...