大约有 2,613 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1651) Laya3.0_api(320) Laya2.0_api(218) laya_api(186) Laya2.0_文档(147) Laya3.0_文档(90) Laya2.0_示例(1)
...合。 LayaAir引擎中的2D刚体组件类是 Laya.RigidBody ,继承自创建组件的基类 Component。 2.1.2 如何添加刚体组件 在LayaAirIDE中,我们可以直接为2D节点添加刚体组件。如动图2-1所示。 (动图2-1) 在实际使用的时候,单独添加刚体的时候比...
来源: Laya3.0_文档 发布时间: 20251010
...old'>HTMLDivElement</span>"; html += "<span color='#6ad2e3'>创建的</span><br/>"; html += "<span color='#d26ae3'>HTML文本</span>"; htmlDiv.innerHTML=html; htmlDiv.pos(50,200); var txt:String = ""; var tTxt:String; var tHTMLElement:HTMLElement; for(var i:int...
来源: Laya_社区 发布时间: 20161027
...s.confirmBtn.onclick = function () { _this.CloseDivAndInfoMesg(this); } // 创建弹出层 遮罩层 等 if (!document.getElementById("mask") && 1) { //mask div this.newMask.id = "mask"; this.newMask.style.position = "absolute"; this.newMask.style.zIndex = "1"; this.newMask.style.width = "10...
来源: Laya_社区 发布时间: 20181214
...derTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBU...
来源: Laya3.0_api 发布时间: 20231115
...omplete)); } /*加载3D资源完成回调*/ private on3DComplete():void{ //创建3D角色 //实例化角色 this.role = Laya.loader.getRes("res/LayaScene_girl/girl.lh"); this.scene.addChild(this.role); //角色位置 this.role.transform.position = new Laya.Vector3(0,1,2); } } new LayaAir3D(); 但...
来源: Laya_社区 发布时间: 20180307
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...容相关的链接 提交 2 个回复 骉 赞同来自: 相同代码,先创建C、D,位置都出问题了 2021-01-03 0 0 分享 微博 QZONE 微信 157*****593 赞同来自: 已经复现所说问题,正在排队处理中 2021-01-06 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20210103
..." NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uui...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231115