大约有 3,008 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
API DocumentationAll Packages | All Classes | Index | Frames No Frames ResourceManagerProperties | Methods Packagelaya.resourceClasspublic class ResourceManagerInheritanceResourceManager ObjectImplements laya.resource.IDispose ResourceManager 是资源管理类。它用于资源的载入、...
来源: laya_api 发布时间: 20170422
...编码的文件。 3. 日志级别 LayaNative底层LOG分为五种: enum class LogType { Debug, Info, Warn, Error, Fatal, }; 每种日志对应的日志级别如下: enum class LogLevel { Debug = 5, Info = 4, Warn = 3, Error = 2, Fatal = 1, Close = 0, }; 在js脚本中,开发者可以通过以...
来源: Laya3.0_文档 发布时间: 20250214
... = Laya.Ease; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_CustomEvent { public static ROTATE: string = "rotate"; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.al...
来源: Laya_示例 发布时间: 20250220
...: /** *...特殊的字符,如泰文,必须重新实现这个类 */ //class laya.webgl.text.CharSegment var CharSegment=(function(){ function CharSegment(){ this._sourceStr=null; } __class(CharSegment,'laya.webgl.text.CharSegment'); var __proto=Ch...
来源: Laya_社区 发布时间: 20180517
...erited Externals Only exported Menu Globals "laya/utils/TimeLine" TimeLine Class TimeLine TimeLine 是一个用来创建时间轴动画的类。 Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll off...
来源: Laya3.0_api 发布时间: 20231115
...使用的图片资源不存在,则自动恢复。 */ var GameMain = /** @class */ (function () { function GameMain() { this.isDestroyed = false; this.PathBg = "../../res/bg2.png"; this.PathFly = "../../res/fighter/fighter.atlas"; //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeigh...
来源: Laya_示例 发布时间: 20250220
API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseRenderProperties | Methods Packagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.ISingletonElement, laya.d3.core.scene.IOctreeObjectSubclasses Mesh...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexParticleShurikenProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexParticleShurikenInheritanceVertexParticleShuriken ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子...
来源: laya_api 发布时间: 20170422
...ya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Pivot { private sp1: Sprite; private sp2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Lay...
来源: Laya_示例 发布时间: 20250220
...rt Vector4 = Laya.Vector4; import WebGLContext = Laya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vector2(); p...
来源: Laya_社区 发布时间: 20180201