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

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

351. laya.d3.core.light.SpotLight_API3.0 [ 63%]

...wStrength spotAngle timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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

352. Unity插件导出模型 [ 62%]

...lh", Laya.Handler.create(null, function(sprite:Laya.Sprite3D):void { scene.addChild(sprite); sprite.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); }));   报错信息 Uncaught TypeError: Cannot read property 'transform' of undefined     at SkinnedMeshRenderer._computeSubSkinnedData (laya...

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

353. laya.d3.core.RenderableSprite3D_API3.0 [ 62%]

...ildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

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

354. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 62%]

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

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

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

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

356. 模型与动画的导入使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...h").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if (this._isRun) { //播放对应的...

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

357. laya空项目怎么加载unity带出的.ls文件 [ 62%]

...e_xfg/layaScene.ls",Laya.Handler.create(this,function(_s){ Laya.stage.addChild(_s); })); 这样还是报错 说secne是void

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

358. 播放视频只有声音没有图像 [ 62%]

...w Laya.Sprite(); reference.pos(0, 0); reference.size('100%', '100%'); this.addChild(reference); Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement,reference,0, 0,'100%','100%']); Laya.Utils.fitDOMElementInArea(videoElement,reference,0, 0,'100%','100%') } } 2018-11-2...

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

359. HTML文本 · LayaAir3.0文档 · LAYABOX [ 62%]

...yaBox</span><span>欢迎你的加入</span>"; Laya.stage.addChild(div); 运行效果: 3.2 同一个文本中设置字体、颜色不同 示例如下: var htmlD:HTMLDivElement = new HTMLDivElement(); Laya.stage.addChild(htmlD); htmlD.innerHTML = "<font style='fontSize:30' col...

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

360. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 62%]

....create(this, function(scene:Laya.Scene3D):void { this._scene = Laya.stage.addChildAt(scene, 0) as Laya.Scene3D; var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript); })); } ``` 我们...

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