大约有 1,763 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...ectangle; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class TiledMap_PerspectiveWall { private tiledMap: TiledMap; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER;...
来源: Laya_示例 发布时间: 20251130
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Pivot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alig...
来源: Laya2.0_示例 发布时间: 20251130
...ted Externals Only exported Menu Globals "laya/html/HtmlParser" HtmlParser Class HtmlParser Hierarchy HtmlParser Index Constructors constructor Properties defaultParser Methods parse Object literals classMap Constructors constructor new HtmlParser(): HtmlParser Defined in laya/html/HtmlParser.ts:25 ...
来源: Laya3.0_api 发布时间: 20231115
...E让项目开发更高效。let aniConfPath = "res/fighter/fighter.atlas"; class Animation_Altas { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stag...
来源: Laya2.0_示例 发布时间: 20251130
...u Globals "laya/ani/bone/canvasmesh/SkinMeshForGraphic" SkinMeshForGraphic Class SkinMeshForGraphic Laya Hierarchy MeshData SkinMeshForGraphic Index Constructors constructor Properties canvasPadding indexes texture transform useUvTransform uvTransform uvs vertices Methods getBounds init2 Constructor...
来源: Laya3.0_api 发布时间: 20231115
... Inherited Externals Only exported Menu Globals "laya/d3/math/RandX" RandX Class RandX Rand 类用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Hierarchy RandX Index Constructors constructor Properties defaultRand Methods random randomint Constr...
来源: Laya3.0_api 发布时间: 20231115
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_RoateAndScale { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...
来源: Laya2.0_示例 发布时间: 20251130
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class TiledMap_IsometricWorld { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1600, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDD...
来源: Laya2.0_示例 发布时间: 20251130
...= Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc");class SkyBoxSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Lay...
来源: Laya_示例 发布时间: 20251130
...ll Inherited Externals Only exported Menu Globals "laya/maths/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo equal fromAr...
来源: Laya3.0_api 发布时间: 20231115