大约有 150 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0055 秒)
...。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Prop...
来源: Laya2.0_api 发布时间: 20190513
...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...
来源: Laya2.0_api 发布时间: 20190513
... http://box2d.org Physics gravity : Object 物理世界重力环境,默认值为{x:0,y:1} 如果修改y方向重力方向向上,可以直接设置gravity.y=-1; Physics I : Physics[static] [read-only] 全局物理单例Physics PIXEL_RATIO : int = 50[static] 2D游戏默认单位为像素...
来源: Laya2.0_api 发布时间: 20190513
...数,建议使用相似的密度,这样做可以改善堆叠稳定性,默认值为10ColliderBase destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component fixture : *[只读]b2Fixture对象 ColliderBase friction : Numbe...
来源: Laya2.0_api 发布时间: 20190513
..._VERSION : int = 2[static] 基于文件名映射管理方式(新版本IDE默认类型)ResourceVersion FOLDER_VERSION : int = 1[static] 基于文件夹的资源管理方式(老版本IDE默认类型)ResourceVersionProperty Detailmanifestpropertypublic static var manifest:Object版本清单t...
来源: Laya2.0_api 发布时间: 20190513
...的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...
来源: Laya2.0_api 发布时间: 20190513
...Stage, Text Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite...
来源: Laya2.0_api 发布时间: 20190513
...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...
来源: Laya2.0_api 发布时间: 20190513
...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...
来源: Laya2.0_api 发布时间: 20190513
...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的...
来源: Laya2.0_api 发布时间: 20190513