Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Zoom the camera in or out... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
cameraZoom(zoom, speed); |
Parameters
Parameter | Type | Mandatory | Notes | Game Version |
---|---|---|---|---|
zoom | Number | ![]() | The zoom level to transition to. Not sure what values are validNormal zoom range is 500 ↔ 5000. | 3.2+ |
speed | Number | ![]() | The amount of time for the camera to transition from it's current zoom level to the new zoom level, in milliseconds. | 3.2+ |
Return value
Example
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
See alsoRelated articles:
|