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

大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0062 秒)

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

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

2623. 使用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

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

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

2626. laya.ui.AdvImage [ 43%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AdvImageProperties | Methods | Events Packagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show...

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

2627. unity导出的场景.ls加载到laya3d中报错 [ 43%]

...容相关的链接 提交 6 个回复 fx_guo 赞同来自: 程序代码: class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Sce...

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

2628. 动效模板(TypeScript-LayaAir基础篇(TS)-动画基础) [ 43%]

...n.ts`文件,在index.html中引用。编写以下代码: ```typescript class Main { constructor() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集资源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/ui....

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

2629. 动画实例在调用含有名字参数的时候获取不到边界 [ 43%]

...浏览: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Battle extends Laya.Script{ playerUnitReady:number; enemyUnitReady:number; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.Stage.ALIGN_CENTE...

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

2630. laya.d3.core.material.ParticleMaterial [ 43%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class ParticleMaterialInheritanceParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public ...

来源: laya_api 发布时间: 20170603