大约有 1,243 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
...,默认使用百分比,也可以取消百分比勾选,采用像素值设置。 Percent:当勾选时,矩形的尺寸为Sprite对象尺寸的百分比,当不勾选时,矩形的尺寸为像素大小。 Line Width:绘制矩形的边框宽度值。 Line Color:绘制矩形的边框颜色...
来源: Laya3.0_文档 发布时间: 20251010
...点击地面时,通过鼠标事件发起获得最短路径的调用: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.en...
来源: Laya3.0_文档 发布时间: 20230303
...。 Returns BaseTexture 位图。 Defined in laya/resource/Texture.ts:222 设置位图。 Parameters value: BaseTexture Returns void 位图。 cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed get des...
来源: Laya3.0_api 发布时间: 20231115