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

大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0130 秒)

1151. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 67%]

...成的js也有这种情况才构成循环。 例如 A.ts import B from 'B' class A{    b:B; } 这种的,在生成js以后由于B只是表示类型,js是不需要的,所以上面的import就没了。  无法去掉的import主要是类似 new B, extends B, instanceof B, 以及静态成员...

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

1152. laya.d3.component.physics.MeshCollider [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class MeshColliderInheritanceMeshCollider Collider Component3D EventDispatcher Object MeshCollider 类用于创建网格碰撞器。 ...

来源: laya_api 发布时间: 20170929

1153. laya.d3.core.MeshFilter_API3.0 [ 67%]

... Externals Only exported Menu Globals "laya/d3/core/MeshFilter" MeshFilter Class MeshFilter MeshFilter 类用于创建网格过滤器。 Hierarchy Component MeshFilter Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlag...

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

1154. laya.d3.resource.models.PrimitiveMesh [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PrimitiveMeshMethods Packagelaya.d3.resource.modelsClasspublic class PrimitiveMeshInheritancePrimitiveMesh Object PrimitiveMesh 类用于创建简单网格。 Public Methods  MethodDefined By  createBox(long:Number = 1...

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

1155. UI-TextArea [ 67%]

....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_TextArea { private skin: string = "../../res/ui/textarea.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.A...

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

1156. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 67%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ​ ProgressBar 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显...

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

1157. 窗口组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

...s Laya.Prefab).create(); window.show(); 也可以扩展GWindow类使用: class MyWindow extends Laya.GWindow { protected onInit() { this.contentPane = ((await Laya.loader.load("Examples/windows/Window1.lh")) as Laya.Prefab).create(); } protected onShown() { //处理窗口显示后的逻辑,例...

来源: Laya3.0_文档 发布时间: 20251010

1158. 文本-自动换行 [ 67%]

...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_WordWrap { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...

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

1159. layaMaxUI.ts的自动生成代码bug [ 67%]

...ide编辑模式中使用   运行demo 按F12 生成 代码如下/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import SceneBase from '../SceneBase' import View=Laya.View; import Dialog=Laya.Dialog; var REG: Function = Laya.ClassUtils.regClass; expor...

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

1160. laya.d3.core.material.BaseMaterial [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class BaseMaterialInheritanceBaseMaterial laya.resource.ResourceImplements laya.d3.core.ICloneSubclasses BlinnPhongMaterial, EffectMat...

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