大约有 275 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0035 秒)
Laya_社区(75) Laya_示例(58) Laya3.0_api(37) Laya2.0_api(28) Laya2.0_示例(24) laya_api(21) Laya2.0_文档(19) Laya3.0_文档(13)
... return new Point(tx, ty); } this.size(width, height); this.init(); } Laya.class(Segment, "Segment", Sprite); var seg; var segments = []; var foods = []; var initialSegmentsAmount = 5; var vx = 0, vy = 0; var targetPosition; (function() { Laya.init(Browser.width, Browser.height, WebGL); // 初始化...
来源: Laya_示例 发布时间: 20241125
...ed Externals Only exported Menu Globals "laya/d3/math/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity invert rotate scale translate t...
来源: Laya3.0_api 发布时间: 20231102
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Container { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage....
来源: Laya2.0_示例 发布时间: 20241125
...xt = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Sprite_Cache { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya...
来源: Laya_示例 发布时间: 20241125
...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_示例 发布时间: 20241125
...ed Externals Only exported Menu Globals "laya/maths/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchR...
来源: Laya3.0_api 发布时间: 20231115
...nherited Externals Only exported Menu Globals "laya/maths/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo equal forNativeElement fromArra...
来源: Laya3.0_api 发布时间: 20231115
...erited Externals Only exported Menu Globals "laya/d3/math/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo forNativeElement fromArray leng...
来源: Laya3.0_api 发布时间: 20231102
... Externals Only exported Menu Globals "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchR...
来源: Laya3.0_api 发布时间: 20231102
...Only exported Menu Globals "laya/d3/math/Native/ConchVector4" ConchVector4 Class ConchVector4 Vector4 类用于创建四维向量。 Hierarchy ConchVector4 Implements IClone Index Constructors constructor Properties elements ONE UnitW UnitX UnitY UnitZ ZERO Accessors w x y z Methods clone cloneTo fr...
来源: Laya3.0_api 发布时间: 20231102