setCamScale(scale: Vec2): void
Set camera scale.
param
scale- The scale to set the camera to.
// set camera scale to (2, 2) setCamScale(2, 2); setCamScale(vec2(2, 2)); setCamScale(2); // x and y are the same
since
v3001.10
Set camera scale.
param
scale- The scale to set the camera to.
// set camera scale to (2, 2) setCamScale(2, 2); setCamScale(vec2(2, 2)); setCamScale(2); // x and y are the same
since
v3001.10
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Button Bindings
Layer
Camera
Level
Plugins