大约有 7 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0028 秒)
...t = scene.addChild(new DirectionLight()) as DirectionLight; //加载模型 Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(null, function(sp:Sprite3D):void { //将模型加到场景上 var layaMonkey:Sprite3D = scene.addChild(sp) as Sprite3D; })) ``` 编译运行上...
来源: Laya2.0_文档 发布时间: 20210715
# Sprite3D支持的Unity导出列表 以下为Unity 2018 4.7 插件中支持的导出属性列表,对应了LayaAir 引擎Sprite3D中的功能。 Unity面板中要导出的属性,如果包括在下面的列表属性中,就可以直接导出。如果没有包括,就代表LayaAir 引擎Sprite3D...
来源: Laya2.0_文档 发布时间: 20200822
...tionLight = scene.addChild(new Laya.DirectionLight()); //加载模型 Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp){ //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图6...
来源: Laya2.0_文档 发布时间: 20210715
...tionLight = scene.addChild(new Laya.DirectionLight()); //加载模型 Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp) { //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图...
来源: Laya2.0_文档 发布时间: 20210715
...scene); //获取cube对象 var cube = scene.getChildByName("Cube") as Laya.Sprite3D; //添加组件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //label用于显示 var _lab = new Laya.Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab....
来源: Laya2.0_文档 发布时间: 20210715
...:void { Laya.stage.addChild(scene) as Scene3D; //获取cube对象 var cube:Sprite3D = scene.getChildByName("Cube"); //添加组件(脚本) var _script:SceneScript = cube.addComponent(SceneScript); //label用于显示 var _lab:Label = new Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 1...
来源: Laya2.0_文档 发布时间: 20210715
...yaScene_AAA`。 ##### 3.3.3 场景导出与预设导出的区别 Scene3D与Sprite3D分别是场景导出的配置项和预设导出的配置项。如下图所示。  ##### 场景 `Scene3D` 采用`Scene3D(场景)`选项导出,会导出整个场景,无论场景中的模型、...
来源: Laya2.0_文档 发布时间: 20210714