• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 150 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)

91. Stat统计面板的介绍(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 65%]

...每秒显示的帧数,值越高、越稳定,感觉越流畅; ​ **Sprite:**统计场景上所有状态为Active的精灵(包括容器)数量,它的大小会影响引擎进行节点遍历、数据组织和渲染的效率。 ​ **RenderBatches:**渲染批次; ​ **SavedRenderBatch...

来源: Laya2.0_文档 发布时间: 20210715

92. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 65%]

...l/Effect_zhujue_attack.lh");             let tarItem = Laya.Sprite3D.instantiate(item);             this.scene.addChild(tarItem);             tarItem.transform.position = new Laya.Vector3(0, 0, 0);             item.destroy();          ...

来源: Laya_社区 发布时间: 20191102

93. [分享]实现颜色渐变 [ 65%]

...ient.addColorStop(0,"#FF0000"); my_gradient.addColorStop(1,"#0000FF"); let sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.graphics.drawRect(0,0,640,1136,my_gradient); 2018-08-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

来源: Laya_社区 发布时间: 20180803

94. 麻烦问一下 二进制arraybuffer 如何转换为bitmap?或者texture [ 65%]

...11-08 17:09 是可以转的,把纹理数据转换为base64编码,再用Sprite.fromImage

来源: Laya_社区 发布时间: 20170928

95. [LayaAirIDE3]无法安装laya3.0资源导出插件,无法导入unity资源(急急急) [ 64%]

...ayanative2 打包android平台 报错 btCollisionObject undefined new Laya.Sprite();绘制图形以后,怎么删除释放资源? Laya3.0 中设置舞台背景透明无效 Laya3.0 2d粒子拖尾 2d三角面拖尾 分享:LayaAir下如何获取图集下的小图资源? 问题状态 最新活动...

来源: Laya_社区 发布时间: 20241011

96. Laya 2DShader什么能支持? [ 63%]

...哪怕开放底层的渲染接口,我自己来组织渲染也行。 像Sprite CustomerRender 里的 context的DrawMesh 并没有实现。。 2019-10-22 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 缨 ...

来源: Laya_社区 发布时间: 20191022

97. 如何使用rendertexture获取相机渲染的动态图片? [ 63%]

...TargetCamera.renderTarget这个获取到了渲染目标能给到一个2dsprite对象吗。我这样写他说 ape.texture = renderTargetCamera.renderTarget; renderture不能赋给texture   2018-01-15 0 1 分享 微博 QZONE 微信 crocs 赞同来自: 拿到renderTarget的纹理,用graphics绘...

来源: Laya_社区 发布时间: 20180113

98. laya.d3.core.Camera [ 63%]

...s Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Nod...

来源: Laya2.0_api 发布时间: 20190513

99. 求问sprite放大后,graphics绘制的图像位置偏移 [ 63%]

求问sprite放大后,graphics绘制的图像位置偏移 let sprite: Sprite = new Sprite(); let texture: Laya.Texture = Laya.loader.getRes(this.skin_img1); sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; ...

来源: Laya_社区 发布时间: 20170821

100. 发现一个奇怪的问题。。。 [ 62%]

发现一个奇怪的问题。。。 有一个sprite ,长300,高50,我用 var bounds = qzone.getGraphicBounds(); qzone.pivot(bounds.width / 2, 0); 设置了它的轴心点,发现它的屏幕坐标也跟着变了 这是怎么回事呢? 2017-05-22 添加评论 免费帖 --> 分享 微博 QZ...

来源: Laya_社区 发布时间: 20170522