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

大约有 2,585 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0086 秒)

431. 文本-滚动文本 [ 63%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createText(); })(); function createText() { txt = new Text(); txt.overflow = Text.SCROLL; txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发...

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

432. laya.ui.ProgressBar [ 63%]

...的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩...

来源: Laya2.0_api 发布时间: 20190513

433. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 63%]

...ction Main() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private function startFun(): void { this.templet = new SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on...

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

434. laya.utils.Timer [ 63%]

... delta : int[read-only] 帧之间的时间间隔,单位毫秒。 Timer  scale : Number = 1 时针缩放。TimerPublic Methods  MethodDefined By  Timer() 创建 Timer 类的一个实例。 Timer  callLater(caller:*, method:Function, args:Array = null):void 延迟执行。 Timer  clear(calle...

来源: laya_api 发布时间: 20170929

435. laya.d3.physicscannon.shape.CannonBoxColliderShape_API3.0 [ 62%]

...UPZ Accessors localOffset localRotation sizeX sizeY sizeZ type Methods _setScale clone cloneTo destroy updateLocalTransformations Constructors constructor new CannonBoxColliderShape(sizeX?: number, sizeY?: number, sizeZ?: number): CannonBoxColliderShape Overrides CannonColliderShape.constructor Defi...

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

436. laya.ani.GraphicsAni_API3.0 [ 62%]

...ext fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns GraphicsAni Accessors cmds get cmd...

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

437. 文本-滚动文本 [ 62%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createText(); } createText() { const Text = Laya.Text, Event = Laya.Event; this.txt = new Text(); Laya.stage.addChild(this.txt); this.txt.overflow = Text.S...

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

438. 输入设备-指南针 [ 62%]

...ar firstTime = true; (function() { Laya.init(700, 1024, WebGL); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.loader.load(compassImgPath, Handler.create(this, init)); })(); function init() { // 创建罗盘 createComp...

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

439. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

... void { var rot: Vector3; if (isRadian) { rot = rotation; } else { Vector3.scale(rotation, Math.PI / 180.0, Transform3D._tempVector30); rot = Transform3D._tempVector30; } Quaternion.createFromYawPitchRoll(rot.y, rot.x, rot.z, Transform3D._tempQuaternion0); if (isLocal) { Quaternion.multiply(this._lo...

来源: Laya3.0_文档 发布时间: 20251010

440. 输入设备-指南针 [ 62%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(compassImgPath, Handler.create(this, this.init)); } init() { const Gyroscope = Laya.Gyroscope, Event = Laya.Event; // 创建罗盘 this.createC...

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