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

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

311. laya.device.geolocation.GeolocationInfo_API3.0 [ 88%]

...ude speed timestamp Methods setPosition Accessors accuracy get accuracy(): number Defined in laya/device/geolocation/GeolocationInfo.ts:38 获取设备当前地理坐标的精度 Returns number altitude get altitude(): number Defined in laya/device/geolocation/GeolocationInfo.ts:31 获取设备当...

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

312. laya.ui.RadioGroup_API3.0 [ 88%]

...Group);//将 radioGroup 添加到显示列表。 } private onSelect(index: number): void { console.log("当前选择的单选按钮索引: index= ", index); } } Hierarchy UIGroup RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior m...

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

313. laya.ui.Panel [ 88%]

...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

314. laya.ui.ComboBox [ 88%]

...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

315. laya.html.HtmlLink_API3.0 [ 88%]

...fined in laya/html/HtmlLink.ts:27 Returns HtmlElement height get height(): number Defined in laya/html/HtmlLink.ts:35 Returns number width get width(): number Defined in laya/html/HtmlLink.ts:31 Returns number Methods addRect addRect(x: number, y: number, width: number, height: number): void Defined...

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

316. laya.device.media.Video [ 88%]

...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

317. laya.display.cmd.FillTextureCmd [ 88%]

...eCmd Object 填充贴图 Public Properties PropertyDefined By  height : Number (可选)高度。 FillTextureCmd  offset : Point (可选)贴图纹理偏移 FillTextureCmd  texture : Texture 纹理。 FillTextureCmd  type : String (可选)填充类型 repeat|repeat-x|repeat-y|no-r...

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

318. laya.components.AnimatorState2D_API3.0 [ 88%]

...ts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/AnimatorState2D.ts:55 动作播放结束时间。 clipStart clipStart: number = 0 Defined in laya/components/AnimatorState2D.ts:50 动作播放起始时间。 cycleOffset cycleOffset: num...

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

319. laya.ani.bone.SkinSlotDisplayData_API3.0 [ 88%]

...ned in laya/ani/bone/SkinSlotDisplayData.ts:25 骨骼数据 height height: number Defined in laya/ani/bone/SkinSlotDisplayData.ts:20 高度 lengths lengths: any[] Defined in laya/ani/bone/SkinSlotDisplayData.ts:35 长度数据 name name: string Defined in laya/ani/bone/SkinSlotDisplayData.ts:10 名...

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

320. laya.utils.SpriteUtils_API3.0 [ 88%]

...DOMElementInArea fitDOMElementInArea(dom: any, coordinateSpace: Sprite, x: number, y: number, width: number, height: number): void Defined in laya/utils/SpriteUtils.ts:131 使DOM元素使用舞台内的某块区域内。 Parameters dom: any DOM元素引用 coordinateSpace: Sprite 坐标空间,不...

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