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

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

541. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 66%]

...Laya.Stage; import Tree = Laya.Tree; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; import Utils = Laya.Utils; export class UI_Tree { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE...

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

542. IDE创建3D示例项目(ActionScript-3D基础(AS3)-快速开始一个LayaAir3D项目) [ 66%]

...hongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(null, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

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

543. tiledMap类createMap()创建地图 如何理解这个viewRect视口区 [ 66%]

...    tiledMap.createMap("res/atlas/TiledMap/desert.json", viewRect, new Handler(this, completeHandler));     } /**      * 地图加载完成的回调      */     function completeHandler()     {          //设置缩放中心为左上角         tiledMap.setView...

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

544. 关于tiledmap.moveViewPort动画的问题 [ 66%]

...ya_Aaron 赞同来自: Tween.to(this,{x:40,y:50,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onUpdate)}) 大概长这个样子 2018-07-06 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 如果会用tween 就好办,  tween 里面有个 update 回调,...

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

545. 关于ASTC使用问题和建议 [ 66%]

..."; 或者是 let tex = new Laya.Texture(); tex.load("ui/guide01.png", Laya.Handler.create(this, ()=>{   this.img.texture = tex; }));   但是如果使用ASTC纹理时就会报错,需要使用异步的方式来处理         Laya.loader.load("ui/guide01.ktx", Laya.Handler.create(this, (res...

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

546. laya.ui.Tree_API3.0 [ 66%]

...ackage { import laya.ui.Tree; import laya.utils.Browser; import laya.utils.Handler; public class Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar....

来源: Laya3.0_api 发布时间: 20231115

547. 这两种定时器在性能上有什么区别?没有区别的话那第二个是不是更好? [ 66%]

...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 大量sprite如何优化性能 laya.d3.utils.Utils3D的convert3DCoordTo2DScreenCoord这个接口api描述是不是错了? 分享:技术突破:HTML5裸跑性能已可媲美APP...

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

548. 用二的幂次方图集和非二的幂次方图集区别在哪? [ 66%]

...何获取图集下的小图资源? 图集的质量可以控制吗 Laya.Handler.create和new Laya.Handler有啥区别 我这样载入场景问题出现在哪呢?? spine动画播放后图集错乱 graphics矢量图和svg矢量图有什么区别吗 问题状态 最新活动: 2017-09-04 17:31 浏...

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

549. TieldMap is not counstructer [ 66%]

... this._tMap.createMap("../bin/map/orthogonal-outside.json",viewRect,Laya.Handler.create(this,this.onComplete));     附件 : --> 2020-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 157*****593 赞同来...

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

550. 天空-天空穹 [ 66%]

...a.d3.resource.models.SkyDome; import laya.display.Stage; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author */ public class SkyDomeSample { public function SkyDomeSample() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.sta...

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