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

大约有 2,982 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

981. UI-Slider [ 70%]

...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_示例 发布时间: 20241002

982. laya.d3.physics.shape.BoxColliderShape_API3.0 [ 70%]

...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

983. laya.components.AnimatorControllerLayer2D_API3.0 [ 70%]

...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

984. laya.maths.Color_API3.0 [ 70%]

...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

985. 骨骼动画-换装 [ 69%]

..., 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_示例 发布时间: 20241002

986. laya.resource.HTMLCanvas [ 69%]

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

987. 升级到1.78beta版后,包编译错误 [ 69%]

... 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

988. 绘制矩形与圆角矩形(TypeScript-LayaAir基础篇(TS)-矢量图) [ 69%]

... = Laya.Sprite;     import Stage = Laya.Stage;       export class Sprite_DrawShapes {         private sp: Sprite;           constructor()         {             //初始化舞台             Laya.init(500, 300);           ...

来源: Laya2.0_文档 发布时间: 20210715

989. dialog的popup方法不会关闭其他弹窗 [ 69%]

...窗没有图层蒙版也没有关闭其他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

990. laya.physics.BoxCollider [ 69%]

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