大约有 273 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0076 秒)
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115
...sDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115
...列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获...
来源: laya_api 发布时间: 20170929
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...
来源: Laya3.0_api 发布时间: 20231115
...如图2-1所示,有一个2D的A*寻路的示例,开发者也可以先通过此示例来了解2D项目中是怎么使用的,如动图2-2所示 (图2-1) (动图2-2) 2.1 A*算法 A算法的工作原理是怎样的,在这里就不做介绍了,开发者可以从网上搜索算法的具...
来源: Laya3.0_文档 发布时间: 20230303
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...
来源: Laya3.0_api 发布时间: 20231115