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

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

391. laya.components.AnimatorControllerLayer2D_API3.0 [ 42%]

...Weight: number = 1 Defined in laya/components/AnimatorControllerLayer2D.ts:60 默认权重 enable enable: boolean = true Defined in laya/components/AnimatorControllerLayer2D.ts:70 是否开启 name name: string Defined in laya/components/AnimatorControllerLayer2D.ts:50 层的名字 playOnWake playOn...

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

392. laya.components.Component_API3.0 [ 42%]

...hasHideFlag(flag: number): boolean Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用。 Returns void onAwake...

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

393. laya.net.URL_API3.0 [ 42%]

...名)。 Returns string url get url(): string Defined in laya/net/URL.ts:60 格式化后的地址。 Returns string Methods Static __init__ __init__(): void Defined in laya/net/URL.ts:31 Returns void Static customFormat customFormat(url: string): string Defined in laya/net/URL.ts:70 自定义URL格...

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

394. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 42%]

...1; this.addChild(this.text); this.setImg = function(data) { var aar=[[150,160],[10,80],[150,0],[300,80]]; this.text.text="房号:1000000\n底分:222222\n玩法:看牌抢庄" this.jushu = new Text(); this.jushu.fontSize = 20; this.jushu.pos(160, 130); this.jushu.text="2/8局" this.jushu.color = "#FF0...

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

395. 安卓手机下 libwebsocket_write error! 大概一个小时->一个半小时 [ 41%]

...om.shenyou.66666I/LayaBox: JSWebSocketDelegate::onClose()this=b51dd670 ws=86085d00 2021-12-03 12:22:59.309 23385-23457/com.shenyou.66666I/LayaBox: JSWebSocket::onSocketCloseCallJSFunction this=86085d00  这种问题如何解决啊 附件 : --> 2021-12-03 添加评论 免费帖 --> 分享 微博 QZO...

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

396. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 41%]

...0) _components : Array(1) _conchData : null _farPlane : 100 _fieldOfView : 60 _id : 1 _isStatic : false _layer : 0 _nearPlane : 0.1 _needProcessCollisions : false _needProcessTriggers : false _normalizedViewport : Viewport _orthographic : false _orthographicVerticalSize : 10 _parent : Scene3D _proje...

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

397. laya.d3.component.animator.AnimatorControllerLayer_API3.0 [ 41%]

...an = true Defined in laya/d3/component/Animator/AnimatorControllerLayer.ts:60 激活时是否自动播放。 Static BLENDINGMODE_ADDTIVE BLENDINGMODE_ADDTIVE: number = 1 Defined in laya/d3/component/Animator/AnimatorControllerLayer.ts:17 混合模式_叠加。 Static BLENDINGMODE_OVERRIDE BLENDINGMO...

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

398. FlashBuilder中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 41%]

...elloLayabox { public function HelloLayabox() { //初始化引擎 Laya.init(600, 300); var txt:Text = new Text(); //设置文本内容 txt.text = "Hello Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = '#ffffff'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } ...

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

399. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 40%]

...ction UI_Clip() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya...

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

400. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 40%]

...G:查看最终运行效果 G-1 设置isSlow=true; Animation的以默认60FPS/S的运行速度运行 G-2 设置isSlow=false; Animation的运行间隔为0.5S,速度变慢 由于效果不好直接在文档中表现,请开发者手动操作体验下 -------------------------------------------...

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