大约有 793 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0059 秒)
Laya_社区(496) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) laya_api(24) Laya3.0_文档(24) Laya_示例(21) Laya2.0_示例(8)
..., 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指定当mouseE...
来源: Laya_社区 发布时间: 20161109
...rarchy ColliderBase EdgeCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded...
来源: Laya3.0_api 发布时间: 20231115
...el = target.angel.level; // 构造 function IsLand() { // 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体...
来源: Laya_社区 发布时间: 20170720
...凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不能小于3个 Hierarchy ColliderBase PolygonCollider Index Constructors constructor Properties _extra _singleton fixture label owner ri...
来源: Laya3.0_api 发布时间: 20231115
...llider所在Transform的Scale导致的,可以修改laya.d3.js文件里的_innerDerivePhysicsTransformation方法,加粗部分为补丁: if (shapeOffset.x !== 0 || shapeOffset.y !== 0 || shapeOffset.z !== 0) { var physicPosition = PhysicsComponent._tempVector30; ...
来源: Laya_社区 发布时间: 20191019
...archy ColliderBase ChainCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction hideFlags id isSensor loop points restitution x y Methods _initialize _setOwner destroy hasHideFlag on...
来源: Laya3.0_api 发布时间: 20231115
...atic] RenderTexture2D format : int[read-only] 纹理格式 BaseTexture _mgrKey : int = 0RenderTexture2D mipmap : Boolean[read-only] 是否使用mipLevel BaseTexture offsetX : Number[read-only] 获取offsetX。 RenderTexture2D offsetY : Number[read-only] 获取offsetY RenderTexture2D so...
来源: Laya2.0_api 发布时间: 20190513
...page[1].rotation=ps[1]+180; page[1].pos(_core.p1.x,_core.p1.y); }else if(idx==4){ page[1].pivot(0,200); page[1].rotation=0;//ps[0]; ...
来源: Laya_社区 发布时间: 20161214
...测试了一下 一加上3d模型就开始有问题 问题代码: _modePnl是场景里的节点 一执行addChild()这句话 界面布局就会乱 请问是什么问题呢 let { x, y } = this._modelPnl.localToGlobal(new Laya.Point(0, 0)) let { x: x2, y: y2 } = this._mod...
来源: Laya_社区 发布时间: 20200401
...到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 用sphere.tranform.rotaion 来改世界旋转。。 2018-05-23 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: sphere.tranform.rotaion的值如何确定? 我是先获取一下 _qua=sphere.transf...
来源: Laya_社区 发布时间: 20180523