大约有 3,699 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0086 秒)
Laya_社区(3210) Laya2.0_文档(154) Laya3.0_api(102) Laya3.0_文档(82) Laya2.0_api(82) Laya_示例(44) laya_api(25)
...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
...灵相关操作忽略 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
...加的同时清空上次的路径 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
...灵相关操作忽略 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
...int[static] 精灵级着色器宏定义,光照贴图。RenderableSprite3D scene : *[read-only] 获得所属场景。 Node SHADERDEFINE_RECEIVE_SHADOW : int[static] 精灵级着色器宏定义,接收阴影。RenderableSprite3D SHADERDEFINE_SCALEOFFSETLIGHTINGMAPUV : int[static] 精灵级着色...
来源: Laya2.0_api 发布时间: 20190513
...可以通过IDE的可视化操作直接进行创建,步骤为右键单击Scene2D,找到UI,点击Dialog即可创建完毕,如图1所示。 (图1) 也可以从IDE资源管理右侧组件面板的UI文件夹中,将Dialog组件拖拽到UI页面中,如动图2所示 (动图2) Dialog的...
来源: Laya3.0_文档 发布时间: 20230303
...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
...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
...模型产生阴影: ```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
...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