Skip to main content

calculateSceneCoords 计算场景坐标

calculateSceneCoords

类型: MethodDeclaration

定义位置: input.ts

描述

计算场景坐标

返回值

类型: void

源代码

位置: 第 625 行

private calculateSceneCoords(): void {
const {x, y} = this.convertScreenToSceneCoords(this.screenX, this.screenY)
if (this.sceneX !== x || this.sceneY !== y) {
this.sceneX = x
this.sceneY = y
Input.emit('scenemousemove', this.eventCache)
}
}

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