大约有 1,483 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0058 秒)
Laya_社区(800) Laya3.0_api(343) Laya2.0_api(142) laya_api(114) Laya2.0_文档(52) Laya3.0_文档(23) Laya2.0_示例(5) Laya_示例(4)
...帧图像,动画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties...
来源: Laya2.0_api 发布时间: 20190513
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: Laya2.0_api 发布时间: 20190513
...blic Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用...
来源: Laya2.0_api 发布时间: 20190513
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: Laya2.0_api 发布时间: 20190513
...abox/layaair-doc/tree/master/Chinese/LayaAir_AS3/IDE/Design_Mode/Attribute_Set#333-中心位置适配 anchorX和anchorY相关介绍 https://github.com/layabox/layaair-doc/tree/master/Chinese/LayaAir_AS3/IDE/Design_Mode/Attribute_Set#4旋转及缩放属性 先了解这些属性的实际作用...
来源: Laya_社区 发布时间: 20170531
...owner函数,可以直接获取到Button组件的实例 public function set owner(v:Sprite):void { _owner = v; //由于时序问题,我们需要在此处添加逻辑代码,确保_owner不为null if(_isScal&&_owner) { _owner.on(Event.MOUSE_DOWN,this,onDown); } else { return; } } public f...
来源: Laya_社区 发布时间: 20161014
...Objs/NativeOBJ/NativeBaseRenderQueue.ts:19 sort function Accessors context set context(value: RenderContext3D): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeBaseRenderQueue.ts:36 Parameters value: RenderContext3D Returns void sortPass set sortPass(value: ISortPass): void Defined in laya/d3/Ren...
来源: Laya3.0_api 发布时间: 20231115
...RenderObjs/RenderObj/BaseRenderQueue.ts:17 sort function Accessors context set context(value: RenderContext3D): void Defined in laya/d3/RenderObjs/RenderObj/BaseRenderQueue.ts:32 Parameters value: RenderContext3D Returns void sortPass set sortPass(value: ISortPass): void Defined in laya/d3/RenderObj...
来源: Laya3.0_api 发布时间: 20231115
... this._align = align; this._padding = padding; } /** * 字间距 */ public set padding(v: number){ if(v === this._padding){return;} this._padding = v; if(this.text){ this.createFnt(this.text); } } public get padding(): number{ return this._padding; } /** * 文本内容 */ public set text(v: string) ...
来源: Laya_社区 发布时间: 20180302
...nimatorStateBoolCondition Accessors compareFlag get compareFlag(): boolean set compareFlag(value: boolean): void Defined in laya/d3/component/Animator/AnimatorStateCondition.ts:175 判断类型 Returns boolean Defined in laya/d3/component/Animator/AnimatorStateCondition.ts:179 判断类型 Parameter...
来源: Laya3.0_api 发布时间: 20231102