大约有 47 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0039 秒)
...load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, this, function () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/skinModel/dude/Assets/dude/head.png")); customMaterial1.setMarginal...
来源: Laya_示例 发布时间: 20260303
...stage.addChild(Laya.Scene.load("res/layaScene.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的demo要加相机...
来源: Laya_社区 发布时间: 20170828
...orm.localScale = new Laya.Vector3(0.2, 0.2, 0.2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scene.numChildren+","+sprite._childs.length); setMeshParams(sprite, Laya.StandardMaterial.RENDERMODE_OPAQUE, new Laya.Vector4(3.5, 3.5, 3.5, 1.0), new Laya.Vector3(0.68...
来源: Laya_社区 发布时间: 20170707
...: String = fullscreenchange[static] 浏览器全屏更改时触发Event HIERARCHY_LOADED : String = hierarchyloaded[static] 定义 hierarchyloaded 事件对象的 type 属性值。Event INPUT : String = input[static] 定义 input 事件对象的 type 属性值。Event KEY_DOWN : String = ke...
来源: laya_api 发布时间: 20170929
... hierarchyloaded 事件对象的 type 属性值。*/ static HIERARCHY_LOADED: string; /** 定义 recovering 事件对象的 type 属性值。*/ static RECOVERING: string; /** 定义 recovered 事件对象的 type 属性值。*/ ...
来源: Laya_社区 发布时间: 20170601
...vent HIDE_TIP : String = hidetip[static] 隐藏提示信息。 UIEvent HIERARCHY_LOADED : String = hierarchyloaded[static] 定义 hierarchyloaded 事件对象的 type 属性值。Event INPUT : String = input[static] 定义 input 事件对象的 type 属性值。Event KEY_DOWN : String = keydow...
来源: laya_api 发布时间: 20170929
...-30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var customMaterial = new Custo...
来源: Laya_示例 发布时间: 20260303