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

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

891. 【解决】富文本html下划线换行bug [ 47%]

...用),官方的bug在于 workLines这个方法中 i没有初始化,要设置一下i=0 这样问题就解决了。  workLines(wordList, g, recList) {             var cssStyle = this.style;             var hasLine;             hasLine = cssStyle.textDec...

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

892. laya.ui.AutoBitmap_API3.0 [ 46%]

...aCmd Inherited from Graphics.alpha Defined in laya/display/Graphics.ts:354 设置透明度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Inherited from Graphics.clear Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recover...

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

893. 列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 46%]

...列表中。如果不使用参数,则使用列表的“项目资源”的设置;也可以指定一个URL,创建指定的对象。 getFromPool从池里取出(如果有)或者新建一个对象。 returnToPool 将对象返回池里。 removeChildToPool 删除一个item,并将对象返回...

来源: Laya3.0_文档 发布时间: 20251128

894. 为什么会出现报错 ani not found:ufo1_down [ 46%]

... = [3,2,1]; // 敌机半径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Hand...

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

895. laya.physics.RigidBody_API3.0 [ 45%]

...ysics.I.worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPa...

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

896. laya.d3.core.material.PBRSpecularMaterial [ 45%]

...贴图缩放系数。 PBRSpecularMaterial  renderMode : int[write-only] 设置渲染模式。 PBRSpecularMaterial renderQueue : int 所属渲染队列.BaseMaterial  SHADERDEFINE_ALBEDOTEXTURE : int[static] PBRSpecularMaterial  SHADERDEFINE_ALPHAPREMULTIPLY : int[static] PBRSpecularMaterial ...

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

897. laya.d3.core.material.PBRStandardMaterial [ 45%]

...贴图缩放系数。 PBRStandardMaterial  renderMode : int[write-only] 设置渲染模式。 PBRStandardMaterial renderQueue : int 所属渲染队列.BaseMaterial  SHADERDEFINE_ALBEDOTEXTURE : int[static] PBRStandardMaterial  SHADERDEFINE_ALPHAPREMULTIPLY : int[static] PBRStandardMaterial ...

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

898. LayaAir3D 坐标系统与矩阵变换 [ 45%]

...环节不做过多介绍。 //初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); //给舞台添加laya3d场景 var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; //初始化照相机 var camera:Camera = scene...

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

899. LayaFlash如何使用chrome调试问题? [ 45%]

...stener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#000000"); //背景色 IFlash.showInfo(false); //是否显示帧率 //[IF-JS]value = 100; } } }   代码中使用LayaFlash的宏编译...

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

900. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 44%]

...ityPlugin  功能介绍:           Mesh Setting    ---   网格设置                  Ignore Vertices Tangent    忽略顶点切线信息,可减小lm文件大小                  Ignore Vertices Color         忽略顶点颜色信息,可减小lm文件大小 ...

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