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

大约有 180 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)

31. laya.ui.OpenDataContextView_API3.0 [ 69%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

32. laya.ui.LayoutBox_API3.0 [ 69%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

33. laya.ui.TipManager_API3.0 [ 69%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

34. laya.ui.VBox_API3.0 [ 68%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

35. laya.ui.HBox_API3.0 [ 68%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

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

36. laya.ui.Image_API3.0 [ 68%]

...实例对象 bg ,并传入它的皮肤。 bg.x = 100;//设置 bg 对象的属性 x 的值,用于控制 bg 对象的显示位置。 bg.y = 100;//设置 bg 对象的属性 y 的值,用于控制 bg 对象的显示位置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的网格信息。 bg.width = 1...

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

37. laya.ui.UIComponent [ 68%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边...

来源: Laya2.0_api 发布时间: 20190513

38. 预设怎么在代码中使用 [ 68%]

...了,  1:进入预设编辑页面 2:为预设下的元素设置name 属性,方便在代码中赋值 3:在代码中请求 F12导出后的 预设Json文件,进行元素值或者其他属性的操作,最后添加到场景中。(添加的预设节点位置根据项目需要选取,符...

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

39. laya.ui.ProgressBar [ 68%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Image[read-only] 获取进度条对象。 ProgressBar  bg : Image[read-only] 获取背景条对象。 ProgressB...

来源: Laya2.0_api 发布时间: 20190513

40. 2D灯光与网格 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

2D灯光与网格一、灯光与网格的关系二、灯光组件的通用属性2.1 灯光颜色(Color)2.2 灯光强度(Intensity)2.3 图层遮罩(Layer Mask)2.4 阴影三、进阶使用3.1 图层遮罩的代码应用3.2 引擎中的API四、灯光组件的使用2D方向光2D精灵光2D...

来源: Laya3.0_文档 发布时间: 20251010