大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0131 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...ndowView(){ chatSetup(); expressionSetup(); } private function chatSetup():void{ chatList.vScrollBarSkin=null; chatList.selectEnable=true; chatList.scrollBar.elasticBackTime = 150; chatList.scrollBar.elasticDistance = 200; var arr:Array=[]; news.innerHTML='<span style="color:#75AC78;font-siz...
来源: Laya_社区 发布时间: 20180319
...gt;: bl 0x1c1b38f5c ; std::__1::function<void (unsigned int, bool*)>::operator()(unsigned int, bool*) const 附件 : --> shell.zip 2024-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20240124
...s/ui.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例化导出的UI类 var efc:ui.EffectAnimationDemoUI = new ui.EffectAnimationDemoUI(); //添加到舞台 Laya.stage.addChild(efc); } }new Main(); ``` 运行后,按钮被按下时,动画效果如动图11所示...
来源: Laya2.0_文档 发布时间: 20210715
...thing(); } private drawSomething(): void { this.sp = new Sprite(); Laya.stage.addChild(this.sp); //画折线 this.sp.graphics.drawCurves(10, 58, [0, 0, 19, ...
来源: Laya2.0_文档 发布时间: 20210715
...4][128]; layout(local_size_x = 32, local_size_y = 1, local_size_z = 1) in; void main() { int filterOffset = (filterDim - 1) / 2; ivec2 dims = textureSize(inputTex, 0); ivec2 workGroup = ivec2(int(gl_WorkGroupID.x), int(gl_WorkGroupID.y)); ivec2 local = ivec2(int(gl_LocalInvocationID.x), int(gl_Local...
来源: Laya3.0_文档 发布时间: 20260131
...oto.parseData=function(texture,skeletonData,playbackRate){ (playbackRate===void 0)&& (playbackRate=30); if(!this._path&&this.url){ //MODIFIED:使用formatPath进行路径过滤 this._path=this.formatPath(this.url.slice(0,this.url.lastIndexOf("/"))+"/"); } this._mainTexture=texture; i...
来源: Laya_社区 发布时间: 20190419
... } private function drawSomething():void { sp = new Sprite(); Laya.stage.addChild(sp); //画曲线 sp.graphics.drawCurves(10, 58, [0, 0, 19, ...
来源: Laya2.0_文档 发布时间: 20210714
...Render); // 返回值e代表的是item项 private function onTreeRender(e):void { //获取每条Item的alpha属性并赋值给Item对象 if(e._dataSource.isAlpha) { var alphaNum:Number=e._dataSource.isAlpha; e.alpha=alphaNum; }//如果未设置alpha的项,则默认透明度为1 else { e.alpha=1; }...
来源: Laya_社区 发布时间: 20170717
...d(this.skin,Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个Button实例 var btn:Laya.Button = new Laya.Button(this.skin); //将Button添加到舞台上 Laya.stage.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.lab...
来源: Laya2.0_文档 发布时间: 20210714
...的旧版例子中的代码 addSkinComponent(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimations = meshSp...
来源: Laya_社区 发布时间: 20180724