大约有 584 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0042 秒)
Laya3.0_api(219) Laya_社区(140) Laya2.0_api(110) laya_api(67) Laya2.0_文档(22) Laya_示例(20) Laya3.0_文档(6)
...;package advancedModule { import laya.ani.AnimationTemplet; import laya.d3.component.animation.SkinAnimations; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import l...
来源: Laya_示例 发布时间: 20241119
...mera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //camera.clearColor =null; //天空盒 var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("res/skyBox...
来源: Laya_社区 发布时间: 20181203
...ra2.normalizedViewport = new Laya.Viewport(0.5, 0.0, 0.5, 0.5); camera2.addComponent(CameraMoveScript); camera2.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox2/skyCube.ltc"); camera2.sky = skyB...
来源: Laya_示例 发布时间: 20241119
...;package sprite3dModule { import laya.ani.AnimationTemplet; import laya.d3.component.animation.SkinAnimations; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.ma...
来源: Laya_示例 发布时间: 20241119
...nkey_clone1); 五、添加组件 LayaAir中,可以对任何3D对象添加Component 组件,如动图5-1所示 (动图5-1) Component 组件,是附加到所有3D对象的内容的基类。 通过代码也可以添加组件,需要物体使用addComponent方法 //添加Rigidbody3D组件 let r...
来源: Laya3.0_文档 发布时间: 20241014
...d property 'AnimationPlayer' of undefined TypeError: Cannot read property 'component' of undefined ReferenceError: Laya3D is not defined 个人环境: layaAIR 1.5.4beta nodejs v7.2.0 tsc version 2.0.10 采用TS开发,index.html配置如下<body> <!-- Protobuf --> &...
来源: Laya_社区 发布时间: 20161201
....GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject...
来源: Laya_社区 发布时间: 20180202
....GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject...
来源: Laya_社区 发布时间: 20171109
....GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject...
来源: Laya_社区 发布时间: 20180125
...mera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); var ...
来源: Laya_示例 发布时间: 20241119