大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
...请: 与内容相关的链接 提交 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
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
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
...s5,但是降到es5以后又会其他地方报错: Uncaught TypeError: Class constructor Scene cannot be invoked without 'new' 现在这个问题有办法解决吗? 2019-10-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20191002
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.Rigidbody3D); #### (1) 使用代码创建和添加刚体 在有需要的情况下,我们可以通过代码创建的方式给对象加上刚体。 下面的示例代码中我们简单的创建了个...
来源: Laya2.0_文档 发布时间: 20210714
...错误 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
...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
...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
...er里边得到打开场景实例呢: 以下是我写的typescript代码: class Main { onConfigLoaded(): void { //加载IDE指定的场景 var handler : laya.utils.Handler = laya.utils.Handler.create(this, this.onGetStartScene); GameConfig.startScene...
来源: Laya_社区 发布时间: 20181206
...该是我IDE版本最新的问题导致 吉日-jerry • 2018-05-16 11:28 class ResourceVersion { /**基于文件夹的资源管理方式(老版本IDE默认类型)*/ static FOLDER_VERSION: number; /**基于文件名映射管理方式(新版本IDE默认类型)*/ static FILENAME_VERSION: numbe...
来源: Laya_社区 发布时间: 20180515