大约有 378 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
Laya_社区(153) Laya3.0_api(85) Laya3.0_文档(52) 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
...加上就不生效了 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
...无效,是用法不对吗 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
...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
...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
Laya.Image组件设置线上链接 sizeGrid属性异常 this.owner.skin = "\/\/enbrands.oss-cn-shenzhen.aliyuncs.com\/travelAround\/map_item.png"; this.owner.sizeGrid = "80,20,2,20,0"使用线上图片链接,图片会被裁切,使用本地同样的图片正常显示 附件 : --> 2020-01-19 添...
来源: Laya_社区 发布时间: 20200119