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

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

401. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 71%]

...operties : [ { name : "text", type : "string" }, { name : "count" , type: "number" }, { name : "actions", inspector: "Buttons", options : { buttons : [ { caption : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以...

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

402. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 71%]

...里给 List 对象赋值。 ```javascript var data: Array = []; for(var m:number =0;m ​ (图6) ####8. 在代码里添加脚本,隐藏滚动条,设置拖拽的橡皮筋效果。 ```javascript m_list.scrollBar.hide = true;//隐藏列表的滚动条。 m_list.scrollBar.elasticBackTime = 200;/...

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

403. laya.ani.swf.MovieClip [ 71%]

...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...

来源: laya_api 发布时间: 20170929

404. laya.ui.CheckBox [ 71%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anch...

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

405. laya.ani.swf.MovieClip [ 71%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...

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

406. laya.ui.Radio [ 71%]

...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = ...

来源: laya_api 发布时间: 20170929

407. laya.d3.core.particleshuriken.module.shape.CircleShape_API3.0 [ 71%]

...创建一个 CircleShape 实例。 Returns CircleShape Properties arc arc: number Defined in laya/d3/core/particleShuriKen/module/shape/CircleShape.ts:18 环形弧度。 emitFromEdge emitFromEdge: boolean Defined in laya/d3/core/particleShuriKen/module/shape/CircleShape.ts:20 从边缘发射。 enab...

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

408. WebSocket发送与接收数据(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 71%]

...数据,按照服务器传递过来的数据,按照顺序读取 var a:number = this.byte.getByte(); var b:number = this.byte.getInt16(); var c:number = this.byte.getFloat32(); var d:string = this.byte.getString(); var e:string = this.byte.getUTFString(); } ```

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

409. laya.ui.Radio [ 71%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anch...

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

410. laya.d3.core.scene.BaseScene [ 70%]

...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...

来源: laya_api 发布时间: 20170422