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.1
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.1
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings