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

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

371. 分享,扩展Laya.Text组件实现简单的富文本 [ 44%]

...-= lineWidth / 2; break; case 'right': x -= lineWidth; break; case 'left': default: break; } y += this._charSize.height; this._graphics.drawLine(x, y, x + lineWidth, y, this.underColor || this.color, 1); } /** * 取出关键字即所在的索引 * @param _text */ private parseType(_text: string) { l...

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

372. laya.ui.Label_API3.0 [ 44%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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

373. laya.ui.FontClip_API3.0 [ 44%]

...ip Overrides Clip.constructor Defined in laya/ui/FontClip.ts:30 Parameters Default value skin: string = null 位图字体皮肤 Default value sheet: string = null 位图字体内容,空格代表换行 Returns FontClip Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined...

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

374. laya.ui.UIGroup_API3.0 [ 44%]

... in laya/ui/UIGroup.ts:63 创建一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns UIGroup Properties Optional _extra _extra: INodeExt...

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

375. 3D中摄像机绕物体旋转该如何实现? [ 44%]

...(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </...

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

376. 官方案例里摄像机绕物体旋转脚本的问题 [ 43%]

...(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </...

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

377. laya.ui.ScrollBar_API3.0 [ 43%]

... laya/ui/ScrollBar.ts:97 创建一个新的 ScrollBar 实例。 Parameters Default value skin: string = null 皮肤资源地址。 Returns ScrollBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false ...

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

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

...ed in laya/ui/Radio.ts:12 创建一个新的 Radio 类实例。 Parameters Default value skin: string = null 皮肤。 Default value label: string = "" 标签。 Returns Radio Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/di...

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

379. laya.ui.TextInput_API3.0 [ 42%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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

380. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 42%]

...interfaces/IHttpResponse"; import Notice from "../../utils/Notice"; export default class AuthReg extends ui.AuthRegUI { /** 密码临时存储 */ private _tmp_pwd: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_password, th...

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