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

大约有 2,982 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)

431. 动画-SWF动画 [ 77%]

...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_示例 发布时间: 20240930

432. laya.d3.renderobjs.nativeobj.NativeShadowCullInfo_API3.0 [ 77%]

...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

433. laya.media.SoundManager [ 77%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...

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

434. 获取sprite对象的 width和height为0 [ 77%]

获取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

435. laya.media.SoundManager [ 77%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...

来源: laya_api 发布时间: 20170929

436. laya.d3.core.material.BaseMaterial_API3.0 [ 77%]

...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

437. laya.maths.MathUtils3D_API3.0 [ 77%]

... 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

438. laya.d3.core.particleshuriken.module.StartFrame_API3.0 [ 77%]

... 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

439. 屏幕适配-自动竖屏 [ 77%]

...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_示例 发布时间: 20240930

440. 屏幕适配-自动横屏 [ 77%]

...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_示例 发布时间: 20240930