大约有 618 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0072 秒)
Laya_社区(259) Laya2.0_api(123) laya_api(96) Laya_示例(56) Laya2.0_示例(44) Laya2.0_文档(26) Laya3.0_文档(8) Laya3.0_api(6)
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this._outHitAllInfo = new Array(); //初始化照相机 this.camera = scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; this.came...
来源: Laya_示例 发布时间: 20241119
...> 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默...
来源: Laya2.0_api 发布时间: 20190513
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; var camera = scene.addChild(new Laya.Camera(0, 0.1, 0)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 2, 20)); camera.transform.rot...
来源: Laya_社区 发布时间: 20220815
...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { const Event = Laya.Event; var gap = 10; //创建一个Sprite充当音效播放按钮 let soundButton = this.createButton("播放音效"); soundBu...
来源: Laya2.0_示例 发布时间: 20241119
...leMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); loadUI(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; var camera1:Camera = new Camera(0, 0.1, 100); scene.addChild(camera1); camera1.transform.translate(new Vector3(0, 0.8, 1.5)); camera1.transform.ro...
来源: Laya_社区 发布时间: 20170209
...CALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; Laya.Stat.show(); //var scene = Laya.stage.addChild(new Laya.Scene.load("cj02/LastHopeScene.ls")); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.VRCamera( 0.03,0, 0, 0.1, 100)); camera.transfor...
来源: Laya_社区 发布时间: 20170707
...> 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anch...
来源: laya_api 发布时间: 20170929
.../Web/HTML/Element/video Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高...
来源: laya_api 发布时间: 20170929
...```typescript Laya.init(this.Browser.width,this.Browser.height); Laya.Stat.show(); Laya.stage.frameRate=Laya.Stage.FRAME_SLOW; var sp=new Laya.Sprite(); sp.graphics.drawCircle(0,0,20,"#990000"); Laya.stage.addChild(sp); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,L...
来源: Laya2.0_文档 发布时间: 20210714
...: error: linker command failed with exit code 1 (use -v to see invocation) Showing first 200 warnings only 2018-01-22 0 0 分享 微博 QZONE 微信 bepa_wang 赞同来自: 现在出错是因为我在OTHER_LDFLAGS后面按照微信指南添加 -all_load参数 ,去掉这个参数编译正常,但...
来源: Laya_社区 发布时间: 20180122