3D Lingo Dictionary > C-D > cameraRotation

 

cameraRotation

Syntax

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, autoCameraPosition