大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...Script三种开发语言、LayaAirIDE让项目开发更高效。let skins; class UI_Slider { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stag...
来源: Laya2.0_示例 发布时间: 20250224
...ted Menu Globals "laya/d3/physics/shape/BoxColliderShape" BoxColliderShape Class BoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy ColliderShape BoxColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATIO...
来源: Laya3.0_api 发布时间: 20231115
...bals "laya/components/AnimatorControllerLayer2D" AnimatorControllerLayer2D Class AnimatorControllerLayer2D Hierarchy AnimatorControllerLayer2D Implements IClone Index Constructors constructor Properties blendingMode defaultWeight enable name playOnWake BLENDINGMODE_ADDTIVE BLENDINGMODE_OVERRIDE Acce...
来源: Laya3.0_api 发布时间: 20231115
...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
..., mCurrIndex = 0, mSkinList = ["goblin","goblingirl"], mCurrSkinIndex = 0; class Skeleton_ChangeSkin { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth...
来源: Laya2.0_示例 发布时间: 20250224
API DocumentationAll Packages | All Classes | Index | Frames No Frames HTMLCanvasProperties | Methods | Constants Packagelaya.resourceClasspublic class HTMLCanvasInheritanceHTMLCanvas laya.resource.Bitmap HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。。...
来源: laya_api 发布时间: 20170929
... = Laya.Sprite; import Stage = Laya.Stage; export class Sprite_DrawShapes { private sp: Sprite; constructor() { //初始化舞台 Laya.init(500, 300); ...
来源: Laya2.0_文档 发布时间: 20210715
... no exported member 'particle'. libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of property 'create' are incompatible. Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: n...
来源: Laya_社区 发布时间: 20170721
...窗没有图层蒙版也没有关闭其他dialog 登录界面的代码: class LoginView extends ui.loginUI { normalDialog: NormalDialog; constructor() { super(); this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null,...
来源: Laya_社区 发布时间: 20181216
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxColliderProperties | Methods Packagelaya.physicsClasspublic class BoxColliderInheritanceBoxCollider ColliderBase Component Object 2D矩形碰撞体 Public Properties Hide Inherited Public Properties Show Inherited Pub...
来源: Laya2.0_api 发布时间: 20190513