大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0087 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
... 下例绘制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
...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
...: 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
...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
...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
...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
...码如下: 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
...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
...Externals Only exported Menu Globals "laya/ui/DialogManager" DialogManager Class DialogManager DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设...
来源: Laya3.0_api 发布时间: 20231115
...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