大约有 3,008 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Animation_SWF { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage....
来源: Laya2.0_示例 发布时间: 20250220
...s "laya/d3/RenderObjs/NativeOBJ/NativeShadowCullInfo" NativeShadowCullInfo Class NativeShadowCullInfo Hierarchy NativeShadowCullInfo Implements IShadowCullInfo Index Constructors constructor Properties MemoryBlock_size Accessors cullPlaneCount cullPlanes cullSphere direction position Constructors co...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...
来源: Laya2.0_api 发布时间: 20190513
获取sprite对象的 width和height为0 /** * 船 */ class Boat extends Laya.Sprite { private bt:Laya.Sprite; constructor() { super() this.bt = new Laya.Sprite() this.bt.loadImage("res/boat.png") this.addChild(this.bt) } } /** * 游戏背景 */ class BackGround extends Laya.Sprite { //背景图 ...
来源: Laya_社区 发布时间: 20160804
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...
来源: laya_api 发布时间: 20170929
...ly exported Menu Globals "laya/d3/core/material/BaseMaterial" BaseMaterial Class BaseMaterial BaseMaterial has deprecated,please use Material instead废弃的类,请使用Material类. deprecated Hierarchy BaseMaterial Index Properties ALPHATESTVALUE MATERIAL RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQU...
来源: Laya3.0_api 发布时间: 20231102
... Externals Only exported Menu Globals "laya/maths/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance Methods fastInvSqrt isZero nearEqual Constructors constructo...
来源: Laya3.0_api 发布时间: 20231115
... Menu Globals "laya/d3/core/particleShuriKen/module/StartFrame" StartFrame Class StartFrame StartFrame 类用于创建开始帧。 Hierarchy StartFrame Implements IClone Index Constructors constructor Accessors constant constantMax constantMin type Methods clone cloneTo createByConstant createByRand...
来源: Laya3.0_api 发布时间: 20231115
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class SmartScale_Portrait { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL);...
来源: Laya2.0_示例 发布时间: 20250220
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class SmartScale_Landscape { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL)...
来源: Laya2.0_示例 发布时间: 20250220