• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,286 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0075 秒)

751. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 66%]

...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

752. 缓动-时间线 [ 66%]

... 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

753. bilibili小游戏发布与调试指南(TypeScript-小游戏适配文档-bilibili小游戏) [ 66%]

...擎初始化之前加上适配代码 : ```typescript as3: BLIMiniAdapter.init(); js或ts:Laya['BLIMiniAdapter'].init(); ``` 2.0以上的引擎已经不需要做适配操作,只需将编译好的项目发布时候选择bilibili小游戏即可,如图点击红色小方块发布按钮,在发布...

来源: Laya2.0_文档 发布时间: 20210715

754. l微信开放域无法显示,但是可以正常传数据 [ 66%]

...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

755. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 66%]

...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

756. Laya.loader.load 教程代码出错 [ 66%]

...) {             //初始化引擎             Laya.init(600, 300);                          img = new Sprite();             var arr:Array = [];             for (index=0;index <=31;index++)             {      ...

来源: Laya_社区 发布时间: 20170918

757. mac下用FB打包发布测试页面,chrome浏览器看不到预期显示文字 [ 66%]

...译环境有问题?   /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

758. 物理引擎-布 [ 66%]

...; 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

759. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 66%]

...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

760. 图集打包后使用Texture不显示啊 [ 66%]

...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