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

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

2111. laya.physics.PhysicsDebugDraw_API3.0 [ 38%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...

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

2112. laya.map.TileAniSprite_API3.0 [ 38%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fr...

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

2113. 动画节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...apMode = 2; //播放模式为pingpong播放模式(PINGPONG) this.owner.addChild(Animation) //添加节点 } } 效果如动图3-1所示: (动图3-1) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:54 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20251010

2114. 压缩纹理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...tends Laya.Script { onAwake(): void { let img = new Laya.Image; Laya.stage.addChild(img); img.pos(500,100); img.skin = "resources/layabox.png"; //纹理压缩的图片的路径 } onStart() { Laya.Stat.show(0, 0); //性能面板 } } 发布后,使用的图片就是压缩后的图片了。 3.2 图集...

来源: Laya3.0_文档 发布时间: 20251010

2115. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 37%]

...1.ls", Laya.Handler.create(this, function(scene){ this._scene = Laya.stage.addChildAt(scene, 0); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); })); } ``` 我们点击加载场景,再来看状...

来源: Laya2.0_文档 发布时间: 20210715

2116. 网格像素线 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...e3D: Laya.PixelLineSprite3D = new Laya.PixelLineSprite3D(3500); this.scene.addChild(sphereLineSprite3D); //设置像素线渲染精灵线模式 Tool.linearModel(sphere, sphereLineSprite3D, Laya.Color.GREEN); } 到此,像素线代码部分就介绍完了,往往我们也可以对一个外部模型...

来源: Laya3.0_文档 发布时间: 20251010

2117. laya.particle.Particle2D_API3.0 [ 37%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance advanceTime bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce...

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

2118. laya.media.SoundNode_API3.0 [ 37%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...

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

2119. laya.map.TileAniSprite [ 37%]

... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  clearAll():void 清理 TileAniS...

来源: laya_api 发布时间: 20170929

2120. laya.map.GridSprite_API3.0 [ 37%]

...t visible width x y zOrder Methods _initialize _processActive addAniSprite addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fr...

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