大约有 82 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0031 秒)
...ULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene3D = Laya.stage.addChild( new Laya.Scene3D() ) as Laya.Scene3D; var camera: Laya.Camera = scene.addChild( new Laya.Camera(0, 0.1, 100) ) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 2, 4)); ...
来源: Laya_社区 发布时间: 20220721
...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, fal...
来源: Laya_示例 发布时间: 20241117
...特效报重复加载 export default class TransformDemo{ private scene:Laya.Scene3D; private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private rotate:Laya.Vector3 = new Laya.Vector3(0, 1, 0); ...
来源: Laya_社区 发布时间: 20190509
...ite3d var layaMonkey_clone1 = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone2 = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone3 = Laya.Sprite3D.instantiate(staticLayaMonk...
来源: Laya2.0_文档 发布时间: 20210715
...d var layaMonkey_clone1:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone2:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone3:Sprite3D = Sprite3D.instantiate(staticLayaMonkey...
来源: Laya2.0_文档 发布时间: 20210714
...Monkey_clone1:Laya.Sprite3D = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone2:Laya.Sprite3D = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone3:Laya.Sprite3D = Laya.Sprite3...
来源: Laya2.0_文档 发布时间: 20210715
...te)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); //克隆sprite3d var layaMonkey_clone1 = Laya.Sprite3D.instantiate(layaMonkey, this.scene, false, new Laya.Vector3(0.6, 0, 0)); //克隆...
来源: Laya2.0_文档 发布时间: 20210714
...te)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); //克隆sprite3d var layaMonkey_clone1 = Laya.Sprite3D.instantiate(layaMonkey, this.scene, false, new Laya.Vector3(0.6, 0, 0)); //克隆...
来源: Laya2.0_文档 发布时间: 20210715
...blic function onComplete():void { //获取资源 var layaMonkey:Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")) as Sprite3D; //克隆sprite3d var layaMonkey_clone1:Sprite3D = Sprite3D.instantiate(layaMonkey, scene, false, new Vector3(0.6, 0, 0)); //克...
来源: Laya2.0_文档 发布时间: 20210715
...注: 2 人 执迷不悟 • 2019-12-16 11:20 class AnimatorDemo { private scene:Laya.Scene3D; resource constructor() { //初始化引擎 Laya3D.init(0, 0); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show...
来源: Laya_社区 发布时间: 20191209