大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
Laya_社区(391) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(13)
....filters = [glowFilter]; } /**创建位图**/ private function createImg(w:int,h:int):Sprite { var Img:Sprite = new Sprite(); //添加到舞台 Laya.stage.addChild(Img); //加载显示图片,坐标位于100,50 Img.loadImage("res/img/monkey1.png",w,h); return Img; } } } ``` 在上面的代码中,...
来源: Laya2.0_文档 发布时间: 20210715
...到的别的stencil参数没问题是因为其他的stencil设置的值为int类型,可以直接设置,我们建议您只将材质用到的uniform参数放置到uniformMap里面。 2023-11-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20231107
...FromString(source); } catch (e) { console.log(e.massage); return; } this.printDirectChildren(xml); } // 打印直接子级 printDirectChildren(xml) { let rootNode = xml.firstChild; let nodes = rootNode.childNodes; for (let i = 0; i item aitem bsomethis..."; var xmlValue:string = "item aitem bsomethi...
来源: Laya2.0_示例 发布时间: 20260303
...}; // Map from request id to route private routeMap = {}; private heartbeatInterval:number = 0; private heartbeatTimeout:number = 0; private nextHeartbeatTimeout:number = 0; private gapThreshold:number = 100; private heartbeatId:any = null; private heartbeatTimeoutId:any = null; private handshakeCal...
来源: Laya_社区 发布时间: 20180119
...。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] 获取是否为单实例组件。 Collider owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D started ...
来源: laya_api 发布时间: 20170929
...范围0-1,值越大,摩擦越大,默认值为0.2ColliderBase id : int[read-only] 获取唯一标识ID。 Component isSensor : Boolean是否是传感器,传感器能够触发碰撞事件,但不会产生碰撞反应ColliderBase isSingleton : Boolean[override] [read-only] 获取是否为...
来源: Laya2.0_api 发布时间: 20190513
...判断。"现在都2.0版本了.这个问题需要解决一下了. var key:int = h * 10000 + w; var sw:Array = dict[key]; 所以给有骨骼动画的对象添加滤镜和遮罩的时候,内存会崩掉. 做技能的扇形指引框的时候(遮罩实现),也会使内存崩掉. 这个问题也...
来源: Laya_社区 发布时间: 20190116
... */ public static function playMusic(url:String, loops:int = 0, complete:Handler = null, startTime:Number = 0):SoundChannel { 你的参数传入是否正确那? 或者能否发一下你出问题部分的代码或者小demo那? 2018-04-17 0 1 分享 微博 QZONE 微信 Apple ...
来源: Laya_社区 发布时间: 20180417
... r.b () r.b (System.String A_0) LayaAir3D.exportResource (Boolean isDebug, Int32 Platformindex, System.String lastname) LayaAir3D.ExportResources () LayaAir3D.OnGUI () 2019-10-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 getstr88 ...
来源: Laya_社区 发布时间: 20180403
...lete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 2018-04-18 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: 加载结束时会有加载回调的! https://layaair.ldc....
来源: Laya_社区 发布时间: 20180418