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

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

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

... 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. 位图字体生效 [ 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

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

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

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

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

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

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

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

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

100. Laya.Image组件设置线上链接 sizeGrid属性异常 [ 75%]

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