3D Lingo Dictionary > O-S > orthoHeight |
![]() |
orthoHeight
Syntax
member(whichCastmember
).camera(whichCamera
).orthoHeight member(whichCastmember
).camera[cameraindex].orthoHeight sprite(whichSprite
).camera.orthoHeight
Description
3D property; when camera.projection
is set to #orthographic
, the value camera.orthoHeight
gives the number of perpendicular world units that fit vertically in the sprite. World units are the measuring units for the particular 3D world. They are internally consistent but arbitrarily chosen, and they can vary from one 3D world to another.
Note that you don't need to specify the camera index (whichCamera
) to access the first camera of the sprite.
The default value of this property is 200.0
Example
This statement sets the orthoHeight
of the camera of sprite 5 to 200. This means 200 world units will fit vertically within the sprite.
sprite(5).camera.orthoheight = 200.0
See also
![]() |