大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
.../res/bg2.png", Handler.create(this, setup)); } private function setup(_e:*=null):void { var bg:Sprite = new Sprite(); bg.loadImage("../../../../res/bg2.png"); Laya.stage.addChild(bg); bg2 = new Sprite(); bg2.loadImage("../../../../res/bg2.png"); Laya.stage.addChild(bg2); bg2.scale(3, 3); //创建mas...
来源: Laya_示例 发布时间: 20251219
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231115
...urns void getAnimatorState getAnimatorState(name: string): AnimatorState | null Defined in laya/d3/component/AnimatorControllerLayer.ts:159 获取动画状态。 Parameters name: string Returns AnimatorState | null 动画状态。 getCurrentPlayState getCurrentPlayState(): AnimatorPlayState Defined ...
来源: Laya3.0_api 发布时间: 20231102
...ild(graph); } /**按下事件处理*/ private function onMouseDown(e:Event=null):void { //添加鼠标移到侦听 Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); buttonPosition = button.x; Laya.stage.on(Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } /**移...
来源: Laya2.0_示例 发布时间: 20251219
.../res/bg2.png", Handler.create(this, setup)); } private function setup(_e:*=null):void { var bg:Sprite = new Sprite(); bg.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg); bg2 = new Sprite(); bg2.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg2); bg2.scale(3, 3); //创建mask maskSp = n...
来源: Laya2.0_示例 发布时间: 20251219
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...据数据的名称 currDisplayData currDisplayData: SkinSlotDisplayData | null Defined in laya/ani/bone/BoneSlot.ts:32 显示对象对应的数据 currSlotData currSlotData: SlotData Defined in laya/ani/bone/BoneSlot.ts:28 当前插槽对应的数据 currTexture currTexture: Texture | null Defined i...
来源: Laya3.0_api 发布时间: 20231115
...te之前执行,只会执行一次 Returns void play play(name?: string | null, layerIndex?: number, normalizedTime?: number): void Defined in laya/d3/component/Animator/Animator.ts:1503 播放动画。 Parameters Default value name: string | null = null 如果为null则播放默认动画,否则...
来源: Laya3.0_api 发布时间: 20231115
...e.version/lib ... js:1: TypeError: Cannot read property 'createTexture' of null s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so ...
来源: Laya_社区 发布时间: 20180129