大约有 808 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(510) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) Laya3.0_文档(25) laya_api(24) Laya_示例(21) Laya2.0_示例(8)
...static] 与 C 键的键控代码值 (67) 关联的常数。Keyboard CAPS_LOCK : int = 20[static] 与 Caps Lock 的键控代码值 (20) 关联的常数。Keyboard COMMA : int = 188[static] 与 F15 的键控代码值 (188) 关联的常数。Keyboard COMMAND : int = 15[static] 与 Mac 命令...
来源: Laya2.0_api 发布时间: 20190513
...how() { super.onShow() this.character = this.view.m_character.displayObject /** 给地面添加碰撞器*/ this.plane = this.view.m_plane.displayObject let planecoll = this.plane.addComponent(Laya.BoxCollider) let chacoll = this...
来源: Laya_社区 发布时间: 20221207
...Component ConfigurableConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath CONFIG_MOTION_TYPE_FREE CONFIG_MOTION_TYPE_LIMITED CONFIG_MOTION_TYPE_LOCKED Accessors XMotion YMotion ZMotion anchor angularBounce angularDa...
来源: Laya3.0_api 发布时间: 20231115
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
...ght: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); priva...
来源: Laya_社区 发布时间: 20200917
关于gridSprite的疑问 tiledMap中 取得maplayer后,在maplayer的 _childs中可以取得渲染的块数据:gridsprite.发现每个gridsprite的宽和高都是432,然后按照432的距离排列好所有的gridsprite. 第一个问题是,这个432是怎么来的,是引擎规定好的吗? ...
来源: Laya_社区 发布时间: 20180311
...到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞同来自: 你这个问题也是让我很不解。。你说的这个限制角度,我纠结了几天也不知道你是什么意思。。。要什么效果, 会操作旋转,然后做一些限制判定,这属...
来源: Laya_社区 发布时间: 20180529
...: 主要目的就是做射线碰撞检测. onStageMouseDown(): void { this._rayPt.x = Laya.MouseManager.instance.mouseX; this._rayPt.y = Laya.MouseManager.instance.mouseY; GameManager.instance.mainCamera.viewportPointToRay(this._rayPt, this._ray); let scene = this.owner.scene as Laya.Scene3D; scene....
来源: Laya_社区 发布时间: 20190319
...his.fontclp.height/2); //轴心点 this.fontclp.skin = "atlas/comp/fontClip_num.png"; this.fontclp.sheet = "0123456789"; this.fontclp.value = "5201314"; this.fontclp.direction = "horizontal"; //位图排列方向 this.fontclp.spaceX = 50; //水平间隔 // this.fontclp.direction = "vertical"; //位...
来源: Laya3.0_文档 发布时间: 20251010
...age", "searchKey":"Image", "props":{"y":98,"x":450,"skin":"assets/dialog/bg_01001.png","scaleY":1,"scaleX":1}, "nodeParent":2, "label":"Image", "isDirectory":false, "isAniNode":true, "hasChild":false, "compId":3, "child":[ ] }], "animations":[ { "nodes":[ ], "name":"ani1", "id":1, "frameRate":24, "a...
来源: Laya_社区 发布时间: 20200417