大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0130 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
...成的js也有这种情况才构成循环。 例如 A.ts import B from 'B' class A{ b:B; } 这种的,在生成js以后由于B只是表示类型,js是不需要的,所以上面的import就没了。 无法去掉的import主要是类似 new B, extends B, instanceof B, 以及静态成员...
来源: Laya_社区 发布时间: 20190730
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
... 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
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
....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
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ProgressBar 组件的资源示例:  (图1)  (图2) 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...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
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