大约有 114 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)
...什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) { var _this = this; ObjectRotate.__super.prototype._initialize.call(this,owner); //在this(调取本函数的的对象)作用域内,侦听mousedown(鼠标按下)事件,如果侦听...
来源: Laya_社区 发布时间: 20170810
...了 2019-03-06 0 0 分享 微博 QZONE 微信 xiaolang 赞同来自: this.owner["found"] 2019-03-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 leonszheng 相关问题 两个对象new了一个相同的对象,调用第一个的一个...
来源: Laya_社区 发布时间: 20190114
...rue; this.twoFirst = true; } onStart(){ this._scene = this.owner.parent as Laya.Scene3D; this._text = this._scene.parent.getChildByName("ceshi") as Laya.Text; this._camera = this._scene.getChildByName("camera") as Laya.Camera; } onUpdate(){ var touchCo...
来源: Laya_社区 发布时间: 20190531
...sform.worldMatrix; Matrix4x4.multiply((_owner as Sprite3D)._transform.worldMatrix, avatarWorldMatrix, spriteWorldMatrix); spriteTransform.worldMatrix = spriteWorldMatrix; 这是引擎里的更新空间变换代码,被挂载的...
来源: Laya_社区 发布时间: 20170905
...ength = 10; spi.filters = spi1.filters = spi2.filters = [blurFilter]; this.owner.parent.addChild(spi); this.owner.parent.addChild(spi1); this.owner.parent.addChild(spi2); // }) }求教以下大佬们,是否还有其他的截屏方法(使用了drawToCanvas,因为3d场景对象比较复杂,无...
来源: Laya_社区 发布时间: 20191230
...rue; this.twoFirst = true; } onStart(){ this._scene = this.owner.parent as Laya.Scene3D; this._text = this._scene.parent.getChildByName("ceshi") as Laya.Text; this._camera = this._scene.getChildByName("camera") as Laya.Camera; } onUpdate(){ var touchCo...
来源: Laya_社区 发布时间: 20190605
...到的物体 this.text.text = "点击到了" + this.outHitResult.collider.owner.name ; console.log("碰撞到物体!!") } 上述代码运行时候报错,一直无法解决,请求大佬帮忙看一下问题?(.scene.physicsSimulation属性为灰色,不可使用) 报错如下...
来源: Laya_社区 发布时间: 20190523
...了Scene3d scene3d.name = 'good'; self.owner.addChild(scene3d); var lv = scene3d.getChildByName("--- GAMEPLAY ---").getChildByName("Levels Parent"); // Laya.Sprite3D.load("res/prefabs/Conventional/prefabs.lh", Laya.Handler.c...
来源: Laya_社区 发布时间: 20220506
...dth - bg.width >> 1, Laya.stage.height - bg.height >> 1); this.owner.addChild(bg); } private createTimerAnimation(): void { this.counter = new Laya.Clip(this.clipSkin, 10, 1); this.counter.autoPlay = true; this.counter.interval = 1000; this.counter.x = (Laya.stage.width - this.counter.wi...
来源: Laya3.0_文档 发布时间: 20230830
...dialog添加了控制脚本,并在脚本中的onstart函数中添加this.owner.popup(),在laya调试运行显示居中了。但是到微信里面报this.owner.popup undefined错误 2018-12-12 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, ...
来源: Laya_社区 发布时间: 20181211