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

大约有 2,738 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)

161. laya.d3.core.render.command.CommandBuffer_API3.0 [ 90%]

...建一个 CommandBuffer 实例。 Parameters Default value name: string = null Default value shadowCaster: boolean = false Returns CommandBuffer Accessors casterShadow get casterShadow(): boolean Defined in laya/d3/core/render/command/CommandBuffer.ts:58 Returns boolean context get context(): Render...

来源: Laya3.0_api 发布时间: 20231115

162. ani动画问题,cannot read property '_tf' of null [ 90%]

ani动画问题,cannot read property '_tf' of null showAni(panel:Laya.Box) {             if (!panel.contains(this)) {                 panel.addChild(this);                 this.pos(0,110);             }             let i = 1;             this.ani1.play(0, f...

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

163. laya.d3.core.MeshSprite3D [ 90%]

...Inherited Public Methods MethodDefined By  MeshSprite3D(mesh:BaseMesh = null, name:String = null) 创建一个 MeshSprite3D 实例。 MeshSprite3D  _addToInitStaticBatchManager():void[override] MeshSprite3D _getSortID(renderElement:IRenderable, material:BaseMaterial):int 排序函数。 Sprite...

来源: laya_api 发布时间: 20170929

164. [LayaAirIDE3]3.1.1打包后,脚本挂载参数为null [ 90%]

[LayaAirIDE3]3.1.1打包后,脚本挂载参数为null 创建脚本挂载到场景中,拖入参数 运行成功打印 打包后参数丢失 附上演示项目 附件 : --> LayaProject.rar 2024-03-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

165. laya.d3.core.light.PointLight [ 90%]

...addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...

来源: Laya2.0_api 发布时间: 20190513

166. 缓动-时间线 [ 90%]

...rnRight", 0).to(this.target, {x:450, y:100, scaleX:0.5, scaleY:0.5}, 2000, null, 0) .addLabel("turnDown", 0).to(this.target, {x:450, y:300, scaleX:0.2, scaleY:1, alpha:1}, 2000, null, 0) .addLabel("turnLeft", 0).to(this.target, {x:100, y:300, scaleX:1, scaleY:0.2, alpha:0.1}, 2000, null, 0) .addLabe...

来源: Laya2.0_示例 发布时间: 20251209

167. 通过getChildByName找到的dialog节点使用show方法后, 再次getChildByName查找, 结果为null [ 90%]

...的dialog节点使用show方法后, 再次getChildByName查找, 结果为null let dialog = new laya.ui.Dialog();  dialog.name = 'Dialog' parentNode.addChild(dialog);    let childNode = parentNode.getChildByName('Dialog'); childNode.show();   console.log(parentNode.getChildByName('Dialog'));  /...

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

168. laya.d3.component.AnimatorState_API3.0 [ 90%]

...度,1.0为正常播放速度。 Accessors clip get clip(): AnimationClip | null set clip(value: AnimationClip | null): void Defined in laya/d3/component/AnimatorState.ts:46 动作。 Returns AnimationClip | null Defined in laya/d3/component/AnimatorState.ts:50 动作。 Parameters value: AnimationCl...

来源: Laya3.0_api 发布时间: 20231102

169. TypeError: Cannot read property 'length' of null [ 90%]

TypeError: Cannot read property 'length' of null layaide2.4.0a场景包含预制体hero.prefab,b场景也包含预制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Poo...

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

170. localToGlobalRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null [ 90%]

...lRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null 当我重新设置了Glist的numItems=0时,每次第一次运行,报错,但是不影响流程进行 但是没有调用配合的RenderItem组件,因为是0;     不知道为啥会如此运行? 2021-04-17 添加评论 ...

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