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

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

621. 高级应用-渲染纹理 [ 61%]

...-10, 0, 0), true, false); renderTargetCamera.renderTarget = new Laya.RenderTexture(2048, 2048); renderTargetCamera.renderingOrder = -1; renderTargetCamera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6,...

来源: Laya_示例 发布时间: 20260303

622. png使用base64显示异常 [ 61%]

...n () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTMLImage.create(image.width,image.height,1); img.loadImageSource(image,true); img._setCreateURL(url); _this.onLoaded(img); }; var url = _this.arra...

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

623. 官方的Animation播放的时候,内部是使用的drawTexture 这个api吗 [ 61%]

官方的Animation播放的时候,内部是使用的drawTexture 这个api吗 官方的Animation播放的时候,内部是使用的drawTexture 这个api动态切换图片吗 var sp2:Sprite = new Sprite(); sp2.x = 300; sp2.graphics.drawTexture(_texture,0,0,100,100); 2017-09-27 添加评论 免费...

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

624. 关于canvas的内容 [ 61%]

... AllenYT • 2018-04-12 18:14 @w1114367261我的意思是建了一个类似Texture,完成将很多图片绘制成一张图片,避免精灵太多,用什么方法好点 w1114367261 • 2018-04-12 18:19 强大的cacheAs了解一下 https://ldc.layabox.com/doc/?nav=zh-as-3-2-3 AllenYT • 2018-04-...

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

625. Sprite3D支持的Unity导出列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 61%]

... - Fixed 2. Color 3. Alpha 4. Location 6. Alignment - View - TransformZ 7. Texture Mode - Stretch

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

626. 使用webgl之后toDataUrl返回黑色的图像 [ 61%]

...ixels:Uint8Array,这东西怎么变成HTMLCanvas?   如果只能变成Texture,那么我需要存盘的问题仍然没有解决,而且我也没找到怎么把Sprite直接画到canvas上的方法 2017-05-23 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 1、请确定下你的引擎...

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

627. laya.ui.Button [ 61%]

...ponent  text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

628. laya.ui.TextInput [ 61%]

...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

629. laya.ui.Dialog [ 60%]

...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

630. TiledMap下面在mapLayer进行addChild后消失 [ 60%]

...复被折叠 要回复问题请先登录 发起人 level100 相关问题 Texture图片能否进行翻转? 求助关于TiledMap的版本问题 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 我在转换的时候,项目报错了,报错指向...

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