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

大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0087 秒)

2971. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 22%]

... 下例绘制10000个文本(根据电脑性能而定,本例为10000): class Test { private text:Laya.Text; constructor() { Laya.init(550,400,Laya.WebGL); Laya.Stat.show(); var textBox=new Laya.Sprite(); for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).t...

来源: Laya3.0_文档 发布时间: 20251010

2972. laya.map.TileAniSprite_API3.0 [ 22%]

...xternals Only exported Menu Globals "laya/map/TileAniSprite" TileAniSprite Class TileAniSprite TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors constructor Properties ...

来源: Laya3.0_api 发布时间: 20231115

2973. [LayaAirIDE3]xcode切入切出声音不播放 [ 22%]

...: void; enum SoundType {     BGM,     Effect,     Dialogue, } export class SoundManager {     private static instance: SoundManager;     private curBGMUrl: string;     private bgmChannel: Laya.SoundChannel | null;     private effectChannels: Map<string, Laya.SoundChannel>;     ...

来源: Laya_社区 发布时间: 20250930

2974. laya.particle.Particle2D_API3.0 [ 22%]

...Externals Only exported Menu Globals "laya/particle/Particle2D" Particle2D Class Particle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawt...

来源: Laya3.0_api 发布时间: 20231115

2975. laya.media.SoundNode_API3.0 [ 22%]

...ited Externals Only exported Menu Globals "laya/media/SoundNode" SoundNode Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawt...

来源: Laya3.0_api 发布时间: 20231115

2976. laya.map.GridSprite_API3.0 [ 22%]

...ited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url aniSpriteAr...

来源: Laya3.0_api 发布时间: 20231115

2977. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 22%]

...码如下: import { IndexRTBase } from "./IndexRT.generated"; const { regClass } = Laya; @regClass() export default class IndexRT extends IndexRTBase { onAwake(): void { //设置舞台设计宽高 Laya.stage.designWidth = 1080; Laya.stage.designHeight = 1920; //在引擎初始化之后改变舞台...

来源: Laya3.0_文档 发布时间: 20251010

2978. laya.map.MapLayer_API3.0 [ 21%]

...nherited Externals Only exported Menu Globals "laya/map/MapLayer" MapLayer Class MapLayer 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 author ... Hierarchy Sprite MapLayer Index Constructors constructor Properties _extra _ownGraphics _scene _skinB...

来源: Laya3.0_api 发布时间: 20231115

2979. laya.ui.DialogManager_API3.0 [ 21%]

...Externals Only exported Menu Globals "laya/ui/DialogManager" DialogManager Class DialogManager DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设...

来源: Laya3.0_api 发布时间: 20231115

2980. laya.ani.swf.MovieClip_API3.0 [ 21%]

...ed Externals Only exported Menu Globals "laya/ani/swf/MovieClip" MovieClip Class MovieClip MovieClip 用于播放经过工具处理后的 swf 动画。 Hierarchy Sprite MovieClip Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior int...

来源: Laya3.0_api 发布时间: 20231115