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

大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)

2671. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 43%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-03-16 14:43 浏览: 799 关注: 2 人 qian • 2018-03-16 11:57 但是这个是不可能没有回调的 官网的例子都可以跑通的 不管怎么样也会有error事件的 feig...

来源: Laya_社区 发布时间: 20180315

2672. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 43%]

...Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ScrollBar { /***垂直滚动条资源**/ private skins:Array=["res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptTex...

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

2673. 小程序开放域相关 [ 43%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 微信小程序canvas如何使用layaAir引擎 关于逻辑贞更新间隔机制、时间和其他一些Ti...

来源: Laya_社区 发布时间: 20180525

2674. 其他引擎的Demo-Example_21 [ 43%]

...e = Laya.Sprite; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = thi...

来源: Laya_示例 发布时间: 20260824

2675. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 43%]

...样条曲线,然后通过drawLines来画。给你 一个参考代码   export class CatmullRomSpline { private points: number[]; constructor(points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total n...

来源: Laya_社区 发布时间: 20241008

2676. laya.maths.Vector2_API3.0 [ 43%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor Properties x y ONE ZERO Methods clone cloneTo forNativ...

来源: Laya3.0_api 发布时间: 20231115

2677. UI-Slider [ 43%]

... = Laya.VSlider; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Slider { constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...

来源: Laya2.0_示例 发布时间: 20260824

2678. laya.d3.physics.shape.BoxColliderShape_API3.0 [ 43%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/BoxColliderShape" BoxColliderShape Class BoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy ColliderShape BoxColliderShape Implements IClone Index ...

来源: Laya3.0_api 发布时间: 20231115

2679. laya.components.AnimatorControllerLayer2D_API3.0 [ 43%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorControllerLayer2D" AnimatorControllerLayer2D Class AnimatorControllerLayer2D Hierarchy AnimatorControllerLayer2D Implements IClone Index Constructors constructor Properties blend...

来源: Laya3.0_api 发布时间: 20231115

2680. laya.maths.Color_API3.0 [ 43%]

...e layaair Options All Public Public/Protected All 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 ...

来源: Laya3.0_api 发布时间: 20231115