大约有 21 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0064 秒)
... true, video: { facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width, height: Laya.stage.height } }; Laya.Media.getMedia(options, Laya.Handler.create(this, onSuccess), Laya.Handler.create(this, onError)); } function showMessage() ...
来源: Laya2.0_文档 发布时间: 20210714
...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...
来源: Laya2.0_api 发布时间: 20190513
... true, video: { facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width, height:Laya.stage.height } }; Media.getMedia(options, Handler.create(this, onSuccess), Handler.create(this, onError)); } } private function showMessage():void {...
来源: Laya2.0_文档 发布时间: 20210715
...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component asPassword : Boolean 本API已弃用。使用type="...
来源: laya_api 发布时间: 20170929
...annot read property 'btCollisionObject' of undefined btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 动画混合无效(版本2.6) 问题状态 最新活动: 2019-08-16 17:23 浏览: 1928 关注: 4 人 ccyy-阿亮 • 2019-08-19 14:56 那看样子&l...
来源: Laya_社区 发布时间: 20190815
...fined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,...
来源: Laya3.0_api 发布时间: 20231115
...fined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,...
来源: Laya3.0_api 发布时间: 20231115
...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-...
来源: Laya2.0_api 发布时间: 20190513
...这里就设置多大。 | | Height | 设置字体的拉伸高度,保持默认的100%就可以。 | 设置完以上这些,直接点OK,保存退出该界面。 #### 第四步:导入源字符文件 在这个步骤里,我们把之前保存为Unicode编码的txt文件,导入到位图字体...
来源: Laya2.0_文档 发布时间: 20210715
...。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Prop...
来源: Laya2.0_api 发布时间: 20190513