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

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

1951. 求问:西文字体下半部分被遮挡,怎么处理? [ 54%]

...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分    var xoff:int = Math.max( orix - pixelBBX[0], 0);    var yoff:int = Math.max( oriy - pixelBBX[1], 0);    var bbxw:int = pixelBBX[2] - pixelBBX[0];    var bbxh:int ...

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

1952. laya.d3.core.Transform3D [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Transform3DProperties | Methods Packagelaya.d3.coreClasspublic class Transform3DInheritanceTransform3D EventDispatcher Object Transform3D 类用于实现3D变换。 Public Properties PropertyDefined By  dummy : Animat...

来源: laya_api 发布时间: 20170929

1953. laya.d3.math.OrientedBoundBox [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By  extent...

来源: laya_api 发布时间: 20170929

1954. 2.3.0beta版本,微信真机调用async函数报错 [ 54%]

...s5,但是降到es5以后又会其他地方报错: Uncaught TypeError: Class constructor Scene cannot be invoked without 'new'   现在这个问题有办法解决吗? 2019-10-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

1955. 物理刚体(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 54%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.Rigidbody3D); #### (1) 使用代码创建和添加刚体 在有需要的情况下,我们可以通过代码创建的方式给对象加上刚体。 下面的示例代码中我们简单的创建了个...

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

1956. error TS2339: Property 'delta' does not exist on type 'Event'. [ 54%]

...错误 LayaAirIDE2.2 - Laya3D init error ,must support webGL Warning!,this class[MiniAdpter] already exist: Object {init: } 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 问题状态 最新活动: 2018-04-23 11:15 浏览: 747 关注: 2 人

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

1957. 圆环不跟随 sprite 一起缩放? [ 54%]

...t Browser = Laya.Browser; import Point = Geometry.Point;  // 程序入口 class GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; pri...

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

1958. Sprite-屏幕截图 [ 54%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_ScreenShot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; t...

来源: Laya2.0_示例 发布时间: 20260303

1959. Laya.Scene.open 中的complete参数如何取得场景实例? [ 54%]

...er里边得到打开场景实例呢: 以下是我写的typescript代码: class Main {     onConfigLoaded(): void {         //加载IDE指定的场景         var handler : laya.utils.Handler = laya.utils.Handler.create(this, this.onGetStartScene);         GameConfig.startScene...

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

1960. 资源版本管理问题,根据官方文档 layacmd 执行后资源加载不了 [ 54%]

...该是我IDE版本最新的问题导致 吉日-jerry • 2018-05-16 11:28 class ResourceVersion { /**基于文件夹的资源管理方式(老版本IDE默认类型)*/ static FOLDER_VERSION: number; /**基于文件名映射管理方式(新版本IDE默认类型)*/ static FILENAME_VERSION: numbe...

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