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

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

81. 陀螺仪与加速计(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 65%]

...laya.device.motion API的相关内容。 ## 1、陀螺仪 ​ `Gyroscope`通过`change`事件对设备方向改变进行监听。该事件有两个回调参数: - `absolute` —— 如果设备提供的方位是基于设备坐标系统和地球坐标系统间的差距,则是`true`;如果设备...

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

82. laya.ui.RadioGroup [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...

来源: laya_api 发布时间: 20170929

83. laya.ui.Tab [ 65%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...

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

84. laya.device.media.Video [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  buffered : *[read-only] buffered 属性返回 TimeRanges(...

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

85. laya.display.AnimationPlayerBase [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: laya_api 发布时间: 20170929

86. laya.display.Text [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"...

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

87. laya.ui.VScrollBar [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...

来源: laya_api 发布时间: 20170929

88. laya.ui.HScrollBar [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...

来源: laya_api 发布时间: 20170929

89. laya.ui.RadioGroup [ 65%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...

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

90. laya.ui.TextArea [ 65%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...

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