大约有 84 项符合查询结果, 库内数据总量为 30,789 项。 (搜索耗时: 0.0024 秒)
...2D Class AnimatorState2D Animator 类用于创建动画组件。 Hierarchy EventDispatcher AnimatorState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll of...
来源: Laya3.0_api 发布时间: 20231115
...Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher AnimatorState Implements IClone Index Constructors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit EVENT_OnStateLoop EVENT_OnStateU...
来源: Laya3.0_api 发布时间: 20231115
...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class Sprite3DClone { private var scene:Scene; public function Sprite3DClone() { Laya3D.ini...
来源: Laya_示例 发布时间: 20241128
...eReference _setCPUMemory _setCreateURL _setGPUMemory clone cloneTo destroy event hasListener isCreateFromURL off offAll offAllCaller on once _parse destroyUnusedResources load Constructors constructor new Avatar(): Avatar Overrides Resource.__constructor Defined in laya/d3/core/Avatar.ts:45 创建...
来源: Laya3.0_api 发布时间: 20231102
...4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` ![](img/1.gif)(图1)
来源: Laya2.0_文档 发布时间: 20210715
...4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` ![](img/1.gif)(图1)
来源: Laya2.0_文档 发布时间: 20210715
...3.layer = 4; ...... //切换图层按钮事件监听 changeActionButton.on(Event.CLICK, this, function():void { camera.removeAllLayers(); layerIndex ++; camera.addLayer(layerIndex%4 +1); camera.addLayer(5); }); ``` ![](img/1.gif)(图1)
来源: Laya2.0_文档 发布时间: 20210715
...? 如何获取图片每个像素点的RGB? 怎么获取对象的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2023-04-04 20:15 浏览: 4166 关注: 3 人
来源: Laya_社区 发布时间: 20230404
...件 每一次点击切换一个显示层 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ //清除所有图层 this.camera.removeAllLayers(); //计数自加一 this.layerIndex ++; //设置可视图层 this.camera.addLayer(this.layerIndex%4 + 1); //将地板图层加入,地板不参...
来源: Laya2.0_文档 发布时间: 20210715
...钮添加事件 每一次点击切换一个显示层 changeActionButton.on(Event.CLICK, this, function():void { //清除所有图层 camera.removeAllLayers(); //计数自加一 layerIndex ++; //设置可视图层 camera.addLayer(layerIndex%4 + 1); //将地板图层加入,地板不参与事件 came...
来源: Laya2.0_文档 发布时间: 20210715