大约有 395 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0039 秒)
Laya_社区(159) Laya3.0_api(85) Laya3.0_文档(63) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
... Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith colliderShape collisionGroup destroyed enabled friction hideFlags id restitution simulation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDest...
来源: Laya3.0_api 发布时间: 20231102
...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_文档 发布时间: 20240910
...加上就不生效了 txt.fontSize=60; txt.name='CEshi' txt.zOrder=2; this.owner.addChild(txt); console.log(this.owner) } 附件 : --> 2019-11-08 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 vvv123 赞同...
来源: Laya_社区 发布时间: 20191108
...什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) { var _this = this; ObjectRotate.__super.prototype._initialize.call(this,owner); //在this(调取本函数的的对象)作用域内,侦听mousedown(鼠标按下)事件,如果侦听...
来源: Laya_社区 发布时间: 20170810
...mponent Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom centerX centerY destroyed enabled hideFlags id left right top Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...ollision:Laya.Collision):void { console.log("碰撞"); if (collision.other.owner === this.sphere){ ((this.owner as Laya.MeshSprite3D).meshRenderer.sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 1.0); } } 附件 : --> 2019-08-17 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20190817
...c Methods Show Inherited Public Methods MethodDefined By TrailRenderer(owner:TrailSprite3D)TrailRenderer _needRender(boundFrustum:BoundFrustum):Boolean[override] TrailRenderer _renderUpdate(state:RenderContext3D, transform:Transform3D):void[override] TrailRenderer _renderUpdateWithCamer...
来源: Laya2.0_api 发布时间: 20190513
...mponent Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom centerX centerY destroyed enabled hideFlags id left right top Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpd...
来源: Laya3.0_api 发布时间: 20231102
...无效,是用法不对吗 onAwake(): void { console.log(this.owner.name) var skin = this.owner.getComponent(Laya.SkinnedMeshRenderer); let mat = skin.material; mat.stencilTest = Laya.RenderState.STENCILTEST_NOTEQUAL; mat.stencilWrite = tr...
来源: Laya_社区 发布时间: 20231228
...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