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

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

931. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 64%]

...caleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=true; constructor(){} static init(){ ...

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

932. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 64%]

...灵相关操作忽略 var heightMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png"); //初始化MeshTerrainSprite3D this.terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 10.00000095...

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

933. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 64%]

...加的同时清空上次的路径 var sp; var x = 0; export default class Scene extends Laya.Sprite{ constructor(){ super(); Laya.init(500, 300, Laya.WebGL); var bg = new Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); // drawSomething(); } ...

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

934. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 64%]

...灵相关操作忽略 var heightMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png"); //初始化MeshTerrainSprite3D this.terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 10.00000095...

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

935. laya.d3.core.RenderableSprite3D [ 64%]

...int[static] 精灵级着色器宏定义,光照贴图。RenderableSprite3D scene : *[read-only] 获得所属场景。 Node  SHADERDEFINE_RECEIVE_SHADOW : int[static] 精灵级着色器宏定义,接收阴影。RenderableSprite3D  SHADERDEFINE_SCALEOFFSETLIGHTINGMAPUV : int[static] 精灵级着色...

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

936. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 64%]

...可以通过IDE的可视化操作直接进行创建,步骤为右键单击Scene2D,找到UI,点击Dialog即可创建完毕,如图1所示。 (图1) 也可以从IDE资源管理右侧组件面板的UI文件夹中,将Dialog组件拖拽到UI页面中,如动图2所示 (动图2) Dialog的...

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

937. U3D导出模型和动画,动画无法正常播放,预览也没有,载入场景资源提示:this._cacheAnimationNode没有Transfrom [ 64%]

...ender (file:///C:/LayaPro/LayaAnimator/bin/libs/laya.d3.js:16444:20)   at Scene3D.__proto._renderScene (file:///C:/LayaPro/LayaAnimator/bin/libs/laya.d3.js:34333:124)   at Camera.__proto.render (file:///C:/LayaPro/LayaAnimator/bin/libs/laya.d3.js:44132:9)   at Scene3D.__proto.renderSubmit (file:/...

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

938. TypeError: relativePath is undefined [ 64%]

...ad property 'cursor' of undefined错误 运行报错 Uncaught Can not find scene:GameView.scene undefined 释放资源Cannot read property '_getSource' of undefined重新加载会容易报错 AS调用IOS原生返回值为undefined,这种情况要怎么解决 TiledMap里面Laya.ILaya报undefined La...

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

939. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 64%]

...模型产生阴影: ```typescript // A plane receive shadow. var grid = scene.addChild(Laya.Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite = this.addPBRSphere(Laya.Primitive...

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

940. Uncaught TypeError: Cannot read property '_tf' of null [ 64%]

...t read property 'displayObject' of null 运行报错 Uncaught Can not find scene:GameView.scene undefined laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bounds 'releaseTexture' of null TiledMap通过名字获得MapLayer怎么都是Null 问题状态 最...

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