What's New in Director 8.5 > The 3D Cast Member > Textures |
![]() ![]() ![]() |
Textures
Textures are 2D images that are drawn on the surface of a 3D model. Textures can be assigned to models in your 3D modeling software, or you can use any bitmap cast member in your movie.
The following commands and properties can be used to perform basic texture operations:
Command |
Function |
Returns |
---|---|---|
|
Returns the number of textures in the texture object list of the cast member. |
Integer. |
|
Returns the texture object named |
Returns the texture object named |
|
Returns the texture at the designated position in the index. The index number can change if textures are added or deleted. |
Returns the texture object at that index number if it exists. Returns |
|
Creates a new texture named The
If If |
Returns a new texture object with a unique name. If the name isn't unique, returns a Lingo error. |
|
Deletes the texture named |
|
|
Deletes the texture with the given index number. Lingo references to this texture persist but can do nothing. |
|
![]() ![]() ![]() |