Skip to main content

setScale 设置触发器缩放系数

setScale

类型: MethodDeclaration

所属类: Trigger

定义位置: trigger.ts

描述

设置触发器缩放系数

参数 scale: 触发器缩放系数

参数

参数名类型描述默认值
scalenumber--

返回值

类型: void

源代码

位置: 第 251 行

public setScale(scale: number): void {
this.scale = scale
if (this.animation) {
this.animation.scale = scale
}
}

文档生成时间:2025/7/7 12:07:06