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

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

2641. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 43%]

...色背景。 开发环境:mac 1.7.16   源码如下: // 程序入口 class LayaAir3D { constructor() { //初始化微信小游戏 Laya.MiniAdpter.init();// 程序入口 //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode ...

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

2642. HScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 43%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.HScrollBar)。 ​ HScrollBar 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ ![图片0.png](img/3.png) ​ (图3) ​ ![图片0.p...

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

2643. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 43%]

...混排谷歌浏览器查看正常打包后的APP文字消失表情变大 class CAffiche { private textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay...

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

2644. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 43%]

...以在舞台上显示多个动画。 代码示例: ```typescript public class Main { private var aniPath = "res/bone/spineboy-pma.skel"; private var templet:SpineTempletBinary; private var skeleton:SpineSkeleton; private var index: Number = -1; public function Main() { Laya.init(Browser.width, Bro...

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

2645. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 43%]

...名1112.png Wechat Lib:1.9.98, 2018.4.4 17:39:27 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM163:1 请先初始化小游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error @ VM163:1 Browser.__init__ @ code.js:7131 (anonymous) @ code.js:70...

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

2646. laya.components.AnimationClip2D_API3.0 [ 43%]

...ly exported Menu Globals "laya/components/AnimationClip2D" AnimationClip2D Class AnimationClip2D Hierarchy Resource AnimationClip2D Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount...

来源: Laya3.0_api 发布时间: 20231115

2647. Cannot read property 'toDefault' of undefined报错是什么原因 [ 43%]

...ty 'toDefault' of undefined报错是什么原因 主要代码如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseC...

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

2648. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 43%]

...roup=Text&name=BitmapFont 测试代码: let fontName = "diyFont";   class Text_BitmapFont { constructor() { const  Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat;   // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); ...

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

2649. laya.ui.HBox [ 43%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hi...

来源: Laya2.0_api 发布时间: 20190513

2650. VScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 43%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 ​ VScrollBar 组件的图像资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ ![图片0.png](img/3.png) ​ (图3) ​ ![图片0.p...

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