大约有 72 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
...derlineColor?:string; /** * 是否自动换行 */ wordWrap?: number; /** * 默认提示的文本颜色(输入框有这个玩意儿) */ promptColor?:string; } 然后是一个字体样式类: TextFormat.ts/** * @User: liuliqianxiao * @Date: 2017/12/25 * @Time: 下午3:52 * @Desc: 字体样式 **...
来源: Laya_社区 发布时间: 20171226
...戏角色的移动更精确可控。 在物理表示上,角色控制器默认使用胶囊体(CapsuleColliderShape)作为碰撞形状,这是因为胶囊体形状最适合模拟人形角色,能够在保持稳定性的同时有效处理与环境的碰撞。开发者可以通过radius(半径...
来源: Laya3.0_文档 发布时间: 20251010
...d 上的行为。 渲染模式 有OpenGL和WebGL两种渲染模式,一般默认选择OpenGL即可。 导出Android Studio 项目 勾选后,构建发布的项目将不会自动打包成apk或ipa包,而是发布为原生包工程。 纹理选项 压缩纹理:一般需要勾选“允许使用...
来源: Laya3.0_文档 发布时间: 20250104
...活地设置和调整局部的寻路参数,以满足游戏的需求。 默认值为Humanoid(人形角色),表示适用于人形角色的导航设置,适用于大多数游戏中的人形角色导航。 如图2-3所示,开发者可以通过选择open Agent Settings选项,打开配置界...
来源: Laya3.0_文档 发布时间: 20251010
...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-1Component anchorY : NumberY轴锚点,值为0-1Component asPassword : Boolean 本API已弃用。使用type="...
来源: laya_api 发布时间: 20170929
...决定。开发者则一般通过给Script附加装饰@runInEditor实现。默认不运行。 关于修饰符的使用,参照下面的示例: const { regClass, property } = Laya; //有了@regClass(),才会被识别为script脚本类 @regClass() export class Script extends Laya.Script { //属...
来源: Laya3.0_文档 发布时间: 20251010
...ght": 居右对齐显示。 Label 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
...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