大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0144 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...tory(); this.mInstance = null; } } public initTemplet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadA...
来源: Laya_社区 发布时间: 20190821
...GL); Laya.Stat.show(); Laya.stage.scaleMode = "showall"; var sp1=new Laya.Sprite(); sp1.graphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], [&...
来源: Laya_社区 发布时间: 20171127
...m getItemBySCI motionOne rebuild removeOne update Constructors constructor new BVHRenderSpatial(bvhConfig?: BVHSpatialConfig, bvhManager?: BVHSpatialManager): BVHRenderSpatial Inherited from BVHSpatial.constructor Defined in laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters De...
来源: Laya3.0_api 发布时间: 20231115
...getCameraDepthTextureModeFlag release render init Constructors constructor new ScalableAO(): ScalableAO Overrides PostProcessEffect.constructor Defined in laya/d3/core/render/PostEffect/ScalableAO.ts:138 实例化一个AO效果类 Returns ScalableAO Accessors active get active(): boolean set active(...
来源: Laya3.0_api 发布时间: 20231115
...Panel(); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; var Img = new Laya.Sprite(); //添加到舞台 Laya.stage.addChild(Img); Img.loadImage("res/img/monkey1.png",200); ``` 运行效果如图1所示  (图1) ### 2、刷新显示对象节点树 默认状态下,显示对...
来源: Laya2.0_文档 发布时间: 20210715
...。在编辑器中,打开 “Tools & MCP” 配置栏目,点击 ”New MCP Server“,添加 LayaAir-CodingMCP 服务的配置。如图 2-5 所示。 (图 2-5) 注意:添加成功后,会如上图一样,展示出MCP服务的API,请务必保障添加成功并保持开启状态。 ...
来源: Laya3.0_文档 发布时间: 20260128
...接在tsconfig文件修改一下,像我这样,然后在用就行了,new Promise就不会报错了,我这是参考的egret的tsconfig文件,具体promise怎么用,自己百度Promise的用法就好了 2018-07-18 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个目前没有教...
来源: Laya_社区 发布时间: 20180604
...开启UniformBuffer Static lightClusterCount lightClusterCount: Vector3 = new Vector3(12, 12, 12) Defined in Config3D.ts:47 X、Y、Z轴的光照集群数量,Z值会影响Cluster接受区域光(点光、聚光)影响的数量,Math.floor(2048 / lightClusterCount.z - 1) * 4 为每个Cluster的最大...
来源: Laya3.0_api 发布时间: 20231115
... //this._valueName=null; //this._value=null; //this._dataObj=null; //this._newSubmit=false; } __class(SaveBase,'laya.webgl.canvas.save.SaveBase'); var __proto=SaveBase.prototype; Laya.imps(__proto,{"laya.webgl.canvas.save.ISaveData":true}) __proto.isSaveMark=function(){return false;} __proto.restore...
来源: Laya_社区 发布时间: 20171104
...回复问题请先登录 发起人 haiboannacom 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? LayaNative ios上js访问不到JSBridge类中的方法,请求官...
来源: Laya_社区 发布时间: 20170926