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

大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)

1291. UI-Input [ 65%]

...SPACING = 100, INPUT_WIDTH = 300, INPUT_HEIGHT = 50, Y_OFFSET = 50, skins; class UI_Input { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage...

来源: Laya2.0_示例 发布时间: 20241002

1292. laya.net.URL [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames URLProperties | Methods Packagelaya.netClasspublic class URLInheritanceURL Object URL 提供URL格式化,URL版本管理的类。 引擎加载资源的时候,会自动调用formatURL函数格式化URL路径 通过bas...

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

1293. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 64%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.List)。 ### 1.1 创建 List 组件 #### 1.编辑列表项。 ​ 列表项可以是 Box 对象或 View(页面) 或其它自定义页面对象。此处以Box 对象为例。 ​ **a.**从资源面板里选...

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

1294. Unity导出报错KeyNotFoundException: The given key was not present in the dictionary. [ 64%]

...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameO...

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

1295. 加载-销毁Texture使用的图片资源 [ 64%]

...效。let PathBg = "res/bg2.png", PathFly = "res/fighter/fighter.atlas"; class Loader_ClearTextureRes { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWi...

来源: Laya2.0_示例 发布时间: 20241002

1296. UI-ProgressBar [ 64%]

...gressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...

来源: Laya_示例 发布时间: 20241002

1297. laya.d3.core.MeshRenderer [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshRendererProperties | Methods Packagelaya.d3.coreClasspublic class MeshRendererInheritanceMeshRenderer BaseRender EventDispatcher ObjectSubclasses SkinnedMeshRenderer MeshRenderer 类用于网格渲染器。 Public Pr...

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

1298. laya.d3.resource.DataTexture2D [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public ...

来源: laya_api 发布时间: 20170929

1299. UI-Clip [ 64%]

...clipSkin = "res/ui/num0-9.png", bgSkin = "res/ui/coutDown.png", currFrame; class UI_Clip { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage....

来源: Laya2.0_示例 发布时间: 20241002

1300. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 64%]

... <code>Component3D</code> 类用于创建组件的父类。 */ class Component3D extends laya.events.EventDispatcher implements laya.d3.core.render.IUpdate { protected static _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerE...

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