大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(71) Laya_示例(58) Laya2.0_示例(54)
...ine, Event = Laya.Event; this.timeLine = new TimeLine(); // addLabel(label:String, offset:Number) offset: 标签事件相对于上个动画的偏移时间(单位:毫秒) this.timeLine.addLabel("turnRight", 0).to(this.target, {x:450, y:100, scaleX:0.5, scaleY:0.5}, 2000, null, 0) .addLabel("turnDow...
来源: Laya2.0_示例 发布时间: 20260303
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
...ya/effect/EffectBase.ts:11 动画持续时间,单位为毫秒 ease ease: string Inherited from EffectBase.ease Defined in laya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Inherited from EffectBase.eventName Defined in laya/effect/Effec...
来源: Laya3.0_api 发布时间: 20231115
...ya/effect/EffectBase.ts:11 动画持续时间,单位为毫秒 ease ease: string Inherited from EffectBase.ease Defined in laya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Inherited from EffectBase.eventName Defined in laya/effect/Effec...
来源: Laya3.0_api 发布时间: 20231115
...d子节点 查找 根据名字,获取子节点对象getChildByName(name: string) 当我们知道某个节点的名字时,可以用个此方法找到父节点下一级的某个子节点 根据子节点的索引位置,获取子节点对象getChildAt(index:number) 当我们知道某个节点的...
来源: Laya3.0_文档 发布时间: 20251010
...k-Attack.lsani', }; private anies : {[name:string]:AnimationTemplet} = {}; private meshes : Array<MeshSprite3D> = []; private OnHierarchyLoaded() { for (let v of this._childs[0]._childs) { ...
来源: Laya_社区 发布时间: 20170608
...一段我写的例子里面的代码,直观一点: private const stand:String = "STAND"; private function loadActionsComplete():void { //创建动画模板dizziness //Animation.createFrames(aniUrls("zy/" + stand + "000", 5), stand + "000");//这么写也不对 Animation.c...
来源: Laya_社区 发布时间: 20170821
... BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods...
来源: Laya2.0_api 发布时间: 20190513
...ture getPixels():Uint8Array 返回图片像素。 Texture2D load(url:String, complete:Handler):void[static] 加载Texture2D。 Texture2D loadImageSource(source:*, premultiplyAlpha:Boolean = false):void 通过图片源填充纹理,可为HTMLImageElement、HTMLCanvasElement、HTMLVideoElement...
来源: Laya2.0_api 发布时间: 20190513
... label.x=30; label.y=40; img.addChild(label); } public function setImg(src:String):void { img.skin=src; } public function setLabel(text:String):void { label.text=text; } } 2017-06-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 nihao43...
来源: Laya_社区 发布时间: 20170626