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

大约有 1,763 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)

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

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

412. 缓动-简单的Tween [ 73%]

...Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_SimpleSample { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER;...

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

413. LayaAir3D基础数学工具(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 73%]

...I](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.math.Vector3) 。 **颜色** ​ 那么在各种颜色属性赋值上,三维向量中的值又分别代表了R、G、B三种颜色,分别为红、绿、蓝。还有些地方使用四维向量作为颜色参...

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

414. 文本-复杂的文本样式 [ 73%]

...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_ComplexStyle { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; ...

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

415. laya.device.motion.RotationInfo_API3.0 [ 73%]

... Only exported Menu Globals "laya/device/motion/RotationInfo" RotationInfo Class RotationInfo 保存旋转信息的类。请勿修改本类的属性。 author Survivor Hierarchy RotationInfo Index Constructors constructor Properties absolute alpha beta compassAccuracy gamma Constructors constructor ...

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

416. laya.utils.Tween_API3.0 [ 73%]

...ll Inherited Externals Only exported Menu Globals "laya/utils/Tween" Tween Class Tween Tween 是一个缓动类。使用此类能够实现对目标对象属性的渐变。 Hierarchy Tween Index Properties repeat update Accessors progress Methods clear complete from pause recover restart resume setSt...

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

417. laya.d3.core.particleshuriken.module.GradientDataVector2_API3.0 [ 73%]

...a/d3/core/particleShuriKen/module/GradientDataVector2" GradientDataVector2 Class GradientDataVector2 GradientDataVector2 类用于创建二维向量渐变。 Hierarchy GradientDataVector2 Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors ...

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

418. Sprite3D-Sprite3D变换 [ 73%]

...cale.z = Math.abs(scaleValue); layaMonkey3.transform.localScale = _scale; }class Sprite3DTransform { private layaMonkey1: Laya.Sprite3D; private layaMonkey2: Laya.Sprite3D; private layaMonkey3: Laya.Sprite3D; private _position: Laya.Vector3; private _rotate: Laya.Vector3; private _scale: Laya.Vector...

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

419. laya.net.LoadTask_API3.0 [ 72%]

... Inherited Externals Only exported Menu Globals "laya/net/Loader" LoadTask Class LoadTask Hierarchy LoadTask Implements ILoadTask Index Constructors constructor Properties ext loader obsoluteInst onComplete onProgress options progress type url uuid Methods reset Constructors constructor new LoadTask...

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

420. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 72%]

...ite; //extends Sprite在LayaAir引擎初始化之前继承会报错 public class HelloLayabox extends Sprite { public function HelloLayabox() { Laya.init(0,0); } } ``` **正确的写法:** ``` package { import laya.display.Sprite; public class HelloLayabox{ public function HelloLayabox() { Laya.in...

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