大约有 3,286 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0075 秒)
Laya_社区(2693) Laya2.0_文档(206) Laya_示例(157) Laya2.0_示例(119) Laya3.0_api(72) Laya3.0_文档(19) laya_api(11) Laya2.0_api(9)
...edMaterials volume Methods _applyReflection _changeRenderObjects _cloneTo _initialize _setOwner addLine addLines clear destroy getLine hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate removeLine setLine setRenderbitFlag __init__ ...
来源: Laya3.0_api 发布时间: 20231115
... TimeLine(); (function () { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createApe();...
来源: Laya_示例 发布时间: 20260106
...擎初始化之前加上适配代码 : ```typescript as3: BLIMiniAdapter.init(); js或ts:Laya['BLIMiniAdapter'].init(); ``` 2.0以上的引擎已经不需要做适配操作,只需将编译好的项目发布时候选择bilibili小游戏即可,如图点击红色小方块发布按钮,在发布...
来源: Laya2.0_文档 发布时间: 20210715
...text = true; Laya.isWXPosMsg = true; //根据IDE设置初始化引擎 Laya.init(GameConfig.width, GameConfig.height,false); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.screenMode = GameConfig.screenMode; Laya.stage.alignV = GameConfig.alignV; Laya.stage.alignH = GameConfig.alignH; // 关...
来源: Laya_社区 发布时间: 20200314
...terial { public static _mainTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToID("u_MainCol"); CMat.initShader(); this.inited = ...
来源: Laya_社区 发布时间: 20190814
...) { //初始化引擎 Laya.init(600, 300); img = new Sprite(); var arr:Array = []; for (index=0;index <=31;index++) { ...
来源: Laya_社区 发布时间: 20170918
...译环境有问题? /LayaAirTest/src/LayaAirTest.as (8):warning:Laya.init This variable is not defined. /LayaAirTest/src/LayaAirTest.as (9):warning:Laya.timer.currTimer This variable is not defined. /LayaAirTest/src/LayaAirTest.as (20):warning:Laya.stage.bgColor This variable is not defined. /L...
来源: Laya_社区 发布时间: 20170429
...; var engine; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(stageWidth, stageHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); setup(); })(); function setu...
来源: Laya_示例 发布时间: 20260106
...nce splitShadow splithighlights temperature tint toneMapping Methods effectInit getCameraDepthTextureModeFlag release __initDefine__ init Constructors constructor new ColorGradEffect(): ColorGradEffect Overrides PostProcessEffect.constructor Defined in laya/d3/core/render/PostEffect/ColorGradEffect....
来源: Laya3.0_api 发布时间: 20231115
...xture; import Handler = Laya.Handler; class GameMain{ constructor() { Laya.init(1080,1321); //设置适配模式 Laya.stage.scaleMode = "showall"; //设置剧中对齐 Laya.stage.alignH = "center"; //设置横竖屏 //Laya.stage.screenMode = "vertical"; var texture:Texture = Laya.loader.getRes("star...
来源: Laya_社区 发布时间: 20170329