大约有 3,770 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0088 秒)
Laya_社区(3236) Laya2.0_文档(198) Laya3.0_api(102) Laya3.0_文档(83) Laya2.0_api(82) Laya_示例(44) laya_api(25)
...加的同时清空上次的路径 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:Texture2D = Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png") as Texture2D; //初始化MeshTerrainSprite3D terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 1...
来源: Laya2.0_文档 发布时间: 20210714
...int[static] 精灵级着色器宏定义,光照贴图。RenderableSprite3D scene : *[read-only] 获得所属场景。 Node SHADERDEFINE_RECEIVE_SHADOW : int[static] 精灵级着色器宏定义,接收阴影。RenderableSprite3D SHADERDEFINE_SCALEOFFSETLIGHTINGMAPUV : int[static] 精灵级着色...
来源: Laya2.0_api 发布时间: 20190513
...ojects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:6331:24) at Scene.__proto._preRenderScene (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:47184:20) at Camera.__proto._renderCamera (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js...
来源: Laya_社区 发布时间: 20170626
...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
...模型产生阴影: ```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
...可以通过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
...生阴影: ```typescript // A plane receive shadow. var grid: Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); (grid.getChildAt(0)).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(Pr...
来源: Laya2.0_文档 发布时间: 20210715
...DocumentationAll Packages | All Classes | Index | Frames No Frames VRSceneProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide In...
来源: laya_api 发布时间: 20170422