大约有 612 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0147 秒)
...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
...里给 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
...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
...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
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: Laya2.0_api 发布时间: 20190513
...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
...创建一个 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
...数据,按照服务器传递过来的数据,按照顺序读取 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
...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
...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