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

大约有 128 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)

91. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 47%]

...加了脚本。同时在舞台上添加另一个方便显示输出的`Text`文本。 脚本类: ```typescript //重写脚本中的onUpdate方法 onUpdate() { var touchCount = this._scene.input.touchCount(); if (1 === touchCount){ //判断是否为两指触控,撤去一根手指后引发的touchC...

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

92. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 47%]

...加了脚本。同时在舞台上添加另一个方便显示输出的`Text`文本。 脚本类: ```typescript //重写脚本中的onUpdate方法 onUpdate() { var touchCount = this._scene.input.touchCount(); if (1 === touchCount){ //判断是否为两指触控,撤去一根手指后引发的touchC...

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

93. 3D中如何限制角色的行走区域? [ 45%]

...制无效 图片Sprite绑定点击事件,点击区域不对 Input输入文本的restrict限制输入的字符怎么使用? 加载单张图片尺寸限制 问题状态 最新活动: 2019-07-30 15:05 浏览: 6443 关注: 23 人 sfsmmc • 2017-08-17 09:10 要加上“params: [true]”,如下: ...

来源: Laya_社区 发布时间: 20170505

94. laya.ui.Button_API3.0 [ 43%]

...on Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码,创建了一个 Button 实例。 package { import laya.ui.Button; import laya.util...

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

95. laya.ui.Radio_API3.0 [ 42%]

...void Inherited from Button.label Defined in laya/ui/Button.ts:425 按钮的文本内容。 Returns string Inherited from Button.label Defined in laya/ui/Button.ts:429 按钮的文本内容。 Parameters value: string Returns void labelAlign get labelAlign(): string set labelAlign(value: string): voi...

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

96. LayaTree v1.0.5版本更新(2021.11.17) [ 42%]

...有开发中经常需要用到的设置点击事件与穿透控制 4.操作文本节点,文本内容直接编辑 非常好用的基于拾色器的颜色调整​ 使用下拉框来选择文本的水平对齐和垂直对齐方式 字体大小,粗细,描边,overflow超出行为随意调节 5. 基于AO...

来源: Laya_社区 发布时间: 20190225

97. laya.ui.ComboBox_API3.0 [ 42%]

...lue: string): void Defined in laya/ui/ComboBox.ts:433 默认的下拉提示文本。 Returns string Defined in laya/ui/ComboBox.ts:437 默认的下拉提示文本。 Parameters value: string Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts...

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

98. laya.ui.CheckBox_API3.0 [ 39%]

...方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; i...

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

99. laya.ui.RadioGroup_API3.0 [ 39%]

...rited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Inherited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelCo...

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

100. laya.ui.Tab_API3.0 [ 39%]

...rited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Inherited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelCo...

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