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

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

191. laya.ui.HBox_API3.0 [ 65%]

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

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

192. laya.ui.List_API3.0 [ 65%]

...s List List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 example 以下示例代码,创建了一个 List 实例。 package { import laya.ui.List; import laya.utils.Handler; public class List_Example { public function List_Example() { Laya.init(...

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

193. laya.d3.core.pixelLine.PixelLineSprite3D [ 65%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node  setLine(index:int, startPosition:Vector3, endPosition:Vector3, st...

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

194. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...其overflow属性设置为滚动,那么可以添加如下代码,实现通过鼠标拖拽显示超出的文字: const { regClass, property } = Laya; let prevX = 0; let prevY = 0; @regClass() export class UI_Text extends Laya.Script { constructor() { super(); } @property({ type: Laya.Text }) txt...

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

195. laya.ui.FontClip_API3.0 [ 65%]

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

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

196. laya.ui.HScrollBar_API3.0 [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in laya/ui/ScrollBar.ts:64 底部移动限制(达到限制...

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

197. laya.ui.VScrollBar_API3.0 [ 65%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in laya/ui/ScrollBar.ts:64 底部移动限制(达到限制...

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

198. laya.map.TileAniSprite_API3.0 [ 65%]

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

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

199. laya.ui.WXOpenDataViewer_API3.0 [ 64%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优...

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

200. laya.display.Stage [ 64%]

...类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压力越大,所以要选择合适的适配方案。 Stage提供不同的帧率模...

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