new b5.A_CamMoveTo(target, x, y, duration, ease_x, ease_y){b5.A_CamMoveTo}
actions/generic/camera.js, line 157
Action that moves a scene camera to a specific coordinate over the specified time then exits
Created actions should be added to an actor or scenes actions list to be processed
For a complete overview of Actions see Booty5 Actions Overview
Name | Type | Description |
---|---|---|
target |
string | b5.Scene |
Path to or instance of target scene that contains camera |
x |
number |
Target x-axis position to move to (passing null will not affect the property) |
y |
number |
Target y-axis position to move to (passing null will not affect the property) |
duration |
number |
Amount of time to move over in seconds |
ease_x |
number |
Easing function to use on x-axis (see b5.Ease) |
ease_y |
number |
Easing function to use on y-axis (see b5.Ease) |
Returns:
Type | Description |
---|---|
b5.A_CamMoveTo | The created action |