大约有 787 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0066 秒)
Laya_社区(413) Laya_示例(77) Laya3.0_api(64) Laya2.0_示例(64) Laya2.0_api(58) laya_api(53) Laya2.0_文档(42) Laya3.0_文档(16)
...都看不到, 附件有场景模型文件 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_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(n...
来源: Laya_社区 发布时间: 20170707
... //设置舞台缩放模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; } else { Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; ...
来源: Laya_社区 发布时间: 20181208
...webglcanvas 后内存不会增加了 let htmlC: HTMLCanvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0); if (htmlC) { htmlC.toBase64("image/jpeg", 0.3, (base64) => { htmlC.releaseReso...
来源: Laya_社区 发布时间: 20200511
...0, WebGL); Stat.show(0, 0); Laya.stage.scaleMode = "showall"; Again(); } private function onAssetLoaded(e:*=null):void { // var texture:Texture = Loader.getRes("res/Dragon...
来源: Laya_社区 发布时间: 20160902
...数 list.repeatX = 1; list.repeatY = 4; // list居中显示 list.x = (Laya.stage.width - ListDataSourceItem.WID) / 2; list.y = (Laya.stage.height - ListDataSourceItem.HEI * list.repeatY) / 2; // 使用但隐藏滚动条,滚动条水平滚动 list.vScrollBarSkin = ""; // list.vScrollBarSkin 滚动条...
来源: Laya_社区 发布时间: 20180410
...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...
来源: Laya3.0_api 发布时间: 20231115
...我改的代码如下: module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interactio...
来源: Laya_社区 发布时间: 20171106
...unction() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, ...
来源: Laya_社区 发布时间: 20181120
...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...
来源: Laya3.0_api 发布时间: 20231115
...form.localRotation; } } /** * 监听鼠标事件 */ onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.camera = (<Laya.Camera>this.owner); } /** * 监听键盘事件 */ onUpdate(): void { var elapsedTime: n...
来源: Laya3.0_文档 发布时间: 20241014