大约有 1,763 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...窗没有图层蒙版也没有关闭其他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
...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
...I](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.math.Vector3) 。 **颜色** 那么在各种颜色属性赋值上,三维向量中的值又分别代表了R、G、B三种颜色,分别为红、绿、蓝。还有些地方使用四维向量作为颜色参...
来源: Laya2.0_文档 发布时间: 20210715
...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
... 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
...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
...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
...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
... 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
...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