大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.component.Script3D)),在3D世界的开发中脚本类会在很多地方被使用,该组件将会在后面的脚本篇中详细的讲解,在本篇只是简单的讲解如何给Sprite3D添加一个脚本。 ...
来源: Laya2.0_文档 发布时间: 20210714
API DocumentationAll Packages | All Classes | Index | Frames No Frames DrawCircleCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawCircleCmdInheritanceDrawCircleCmd Object 绘制圆形 Public Properties PropertyDefined By fillColor : * 填充颜色,或...
来源: Laya2.0_api 发布时间: 20190513
...下。编译器编译出来,命名的时候都是错乱的 比如: __class(StartUpCommand,'com.game.modules.hall.controller.StartUpCommand',_super); __class(StartUpCommand,'com.game.modules.login.controller.StartUpCommand',_super,'StartUpCommand$1'); __class(StartUpCommand,'com.game.shell.contro...
来源: Laya_社区 发布时间: 20170705
...off需要指定监听函数,但是我在设置监听是如下写的: class a {_EventMgr.on("xxx", () => {this.xxx();}); } _EventMgr是一个全局的监听类,在class a中设置监听并处理,但我删除这个a的实例并重新创建,发现触发事件时,处理函数会调用2次...
来源: Laya_社区 发布时间: 20171012
...ported Menu Globals "laya/d3/component/Volume/VolumeManager" VolumeManager Class VolumeManager VolumeManager 类用于管理体积组件 Hierarchy VolumeManager Implements IVolumeManager Index Constructors constructor Properties _volumetricGIManager ReflectionProbeVolumeType VolumetricGIType Accesso...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames DrawCurvesCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawCurvesCmdInheritanceDrawCurvesCmd Object 绘制曲线 Public Properties PropertyDefined By lineColor : * 线段颜色,或...
来源: Laya2.0_api 发布时间: 20190513
...、LayaAirIDE让项目开发更高效。let skin = "res/ui/textarea.png"; class UI_TextArea { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.sta...
来源: Laya2.0_示例 发布时间: 20250222
...ited Externals Only exported Menu Globals "laya/d3/math/BoundBox" BoundBox Class BoundBox BoundBox 类用于创建包围盒。 Hierarchy BoundBox Implements IClone Index Constructors constructor Properties max min Methods clone cloneTo getCenter getCorners getExtent setCenterAndExtent toDefault crea...
来源: Laya3.0_api 发布时间: 20231115
...ls "laya/d3/core/render/command/DrawMeshInstancedCMD" DrawMeshInstancedCMD Class DrawMeshInstancedCMD Hierarchy Command DrawMeshInstancedCMD Index Constructors constructor Properties maxInstanceCount Accessors bufferState material mesh Methods destroy recover run setContext setDrawNums setWorldMatri...
来源: Laya3.0_api 发布时间: 20231115
...编辑器中。 3.1 类 需要在类定义之前使用装饰器的标识@bpClass,示例代码如下所示: const { bpClass } = BP; @bpClass({ name:"TestBluePrint", canInherited: true, extends:"Script" }) export class TestBluePrint extends Laya.Script { } 需要注意的是,只有注册了构...
来源: Laya3.0_文档 发布时间: 20250103