cameraRotation
Usage
member(whichCastMember).cameraRotation
sprite(whichSprite).cameraRotation
Description
3D cast member and sprite property; indicates the position of the default camera.
The default value of this property is vector(0, 0, 0). This is the rotation of the default camera in a
newly created 3D cast member.
Example
This statement shows that the rotation of the default camera of the cast member named Babyland
is the vector (82.6010, -38.8530, -2.4029).
member("babyland").cameraRotation = vector(82.6010, \
-38.8530, -2.4029)
See also
cameraPosition,
castLib
Usage
-- Lingo syntax
_movie.castLib[castNameOrNum]
// JavaScript syntax
_movie.castLib[castNameOrNum];
Description
Movie property; provides named or indexed access to the cast libraries of a movie, whether the
movie is active or not. Read-only.
The
castNameOrNum
access or an integer that specifies the number of the movie to access.
This property provides functionality similar to the top level
method applies only to the currently active movie.
castLib()
Example
This statement displays the number of the Buttons cast in the Message window.
-- Lingo syntax
put(_movie.castLib["Buttons"].number)
// JavaScript syntax
put(_movie.castLib["Buttons"].number);
See also
castLib(),
Movie
678
Chapter 14: Properties
autoCameraPosition
argument can be either a string that specifies the name of the movie to
method, except that the
castLib()
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers