大约有 1,766 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(625) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
... 淡淡的疯 • 2018-09-10 21:27 3D模式下的确是这样,20M内存 class LayaAir3D { constructor() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SC...
来源: Laya_社区 发布时间: 20180908
...动图5所示: (图5) **示例代码:** ```typescript class PanelTest { constructor() { //初始化引擎 Laya.init(800, 600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded)); } private onLoaded(): void { //实例化Panel...
来源: Laya2.0_文档 发布时间: 20210715
...ited Externals Only exported Menu Globals "laya/maths/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity invert rotate scale translate t...
来源: Laya3.0_api 发布时间: 20231115
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.Rigidbody3D); #### (1) 使用代码创建和添加刚体 在有需要的情况下,我们可以通过代码创建的方式给对象加上刚体。 下面的示例代码中我们简单的创建了个...
来源: Laya2.0_文档 发布时间: 20210714
...ted Menu Globals "laya/d3/physics/shape/BoxColliderShape" BoxColliderShape Class BoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy ColliderShape BoxColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATIO...
来源: Laya3.0_api 发布时间: 20231115
...bals "laya/components/AnimatorControllerLayer2D" AnimatorControllerLayer2D Class AnimatorControllerLayer2D Hierarchy AnimatorControllerLayer2D Implements IClone Index Constructors constructor Properties blendingMode defaultWeight enable name playOnWake BLENDINGMODE_ADDTIVE BLENDINGMODE_OVERRIDE Acce...
来源: Laya3.0_api 发布时间: 20231115
....9banben,发布的时候用的2.3.1的引擎插件,就一直报错。 Class constructor Scene cannot be invoked without 'new' 2019-12-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0...
来源: Laya_社区 发布时间: 20191224
...m.layabox.test W/om.layabox.tes: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;-><init>(Landroid/content/Context;I)V (light greylist, reflection) Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->logE...
来源: Laya_社区 发布时间: 20190723
...s$bar.png"], Handler.create(this, onLoadComplete)); } console.log(1); Laya.class(Loadings,"Loadings",_super); function onLoadComplete() { progressBar = new ProgressBar("./comp/progress.png"); progressBar.width = 400; progressBar.x = (Laya.stage.width - progressBar.width) / 2; progressBar.y = Laya.st...
来源: Laya_社区 发布时间: 20171230
...spatcher; import laya.utils.Browser; import laya.utils.Tween; public class testVH { protected var _tip:Sprite; public function testVH() { IEventDispatcher; Config.isAlpha = true; Config.isAntialias = true; Laya.init(0, 0,true); Laya.stage.bgColor = "#000000"; ChangeSize(); Laya.timer.once(1...
来源: Laya_社区 发布时间: 20190520