setCamera2DYaw
setCamera2DYaw(
writer,yawRadians):void
Turns the current Camera2D to yawRadians, as a cutscene or a saved
view does; the aim holds it inside the orbit’s limit and the map’s
edge, as it holds the player’s turn. A Camera2D with no orbit keeps
its yaw of 0.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
ViewWriter |
yawRadians |
number |
Returns
Section titled “Returns”void