• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 395 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0039 秒)

91. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 76%]

... 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

92. 位图切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 75%]

...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

93. 位图字体生效 [ 75%]

...加上就不生效了 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

94. 物体随着鼠标滑动旋转脚本 [ 75%]

...什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) {     var _this = this;     ObjectRotate.__super.prototype._initialize.call(this,owner);       //在this(调取本函数的的对象)作用域内,侦听mousedown(鼠标按下)事件,如果侦听...

来源: Laya_社区 发布时间: 20170810

95. laya.components.Widget_API3.0 [ 75%]

...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

96. onCollisionEnter检测不到碰撞 [ 75%]

...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

97. laya.d3.core.trail.TrailRenderer [ 75%]

...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

98. laya.ui.Widget_API3.0 [ 75%]

...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

99. [LayaAir3]平面阴影Stencil用法问题 [ 75%]

...无效,是用法不对吗 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

100. 3D+2D场景截屏,在不同浏览器显示效果不一致 [ 75%]

...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