3D Lingo Dictionary > T-Z > textureType

 

textureType

Syntax

member(whichCastmember).textureType

Description

3D texture property; allows you to get or set the texture type for the default texture. Possible values are as follows:

#none specifies that there is no texture type.

#default uses the texture from the original shader as the texture.

#member uses the image from the specified cast member as the texture.

The default value for this property is #default. You must specify #member for this property in order to use the textureMember property.

Example

This statement sets the textureType property of the cast member Scene to #member. This makes it possible use a bitmap cast member as the source of the default texture by setting the textureMember property.

member("Scene").textureType = #member
member("Scene").textureMember = "grass"

See also

textureMember