User Guide

Lingo Dictionary 191
diffuseLightMap
Syntax
member(whichCastmember).shader(whichShader).diffuseLightMap
member(whichCastmember).model(whichModel).shader.diffuseLightMap
member(whichCastmember).model(whichModel).shaderList{[index]}.\
diffuseLightMap
Description
3D #standard shader property; specifies the texture to use for diffuse light mapping.
When you set this property, the following properties are automatically set:
The second texture layer of the shader is set to the texture you specified.
The value of textureModeList[2] is set to #diffuse.
The value of blendFunctionList[2] is set to #multiply.
The value of blendFunctionList[1] is set to #replace.
Example
This statement sets the texture named Oval as the diffuseLightMap property of the shader used
by the model named GlassBox.
member("3DPlanet").model("GlassBox").shader.diffuseLightMap = \
member("3DPlanet").texture("Oval")
See also
blendFunctionList, textureModeList, glossMap, region, specularLightMap
digitalVideoTimeScale
Syntax
the digitalVideoTimeScale
Description
System property; determines the time scale, in units per second, that the system uses to track
digital video cast members.
The
digitalVideoTimeScale property can be set to any value you choose.
The value of the property determines the fraction of a second that is used to track the video, as in
the following examples:
100—The time scale is 1/100 of a second (and the movie is tracked in 100 units per second).
500—The time scale is 1/500 of a second (and the movie is tracked in 500 units per second).
0—Director uses the time scale of the movie that is currently playing.
Set
digitalVideoTimeScale to precisely access tracks by ensuring that the systems time unit for
video is a multiple of the digital videos time unit. Set the
digitalVideoTimeScale property to a
higher value to enable finer control of video playback.
This property can be tested and set.
Example
This statement sets the time scale that the system uses to measure digital video to 600 units
per second:
the digitalVideoTimeScale to 600