大约有 640 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0151 秒)
Laya_社区(307) Laya2.0_api(86) Laya2.0_文档(86) laya_api(77) Laya3.0_api(61) Laya3.0_文档(19) Laya2.0_示例(4)
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false 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
...部件面板中拖拽创建一个开放数据域节点: 我们也可以通过脚本创建开放数据域节点,在Scene2D节点上添加一个自定义组件脚本,脚本内容如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owne...
来源: Laya3.0_文档 发布时间: 20251010
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false 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
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false 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
...ber, aspect:Number, znear:Number, zfar:Number, out:Matrix4x4):void[static] 通过FOV创建透视投影矩阵。 Matrix4x4 createPerspectiveOffCenter(left:Number, right:Number, bottom:Number, top:Number, znear:Number, zfar:Number, out:Matrix4x4):void[static] 创建透视投影矩阵。 Matrix4x4 ...
来源: Laya2.0_api 发布时间: 20190513
...必须处在Stage.focus的冒泡链上才能收到该事件。 用户可以通过代码 Laya.stage.focus=someNode 的方式来设置focus对象。 用户可统一的根据事件对象中 e.keyCode 来判断按键类型,该属性兼容了不同浏览器的实现。 2018-02-08 0 5 分享 微博 QZON...
来源: Laya_社区 发布时间: 20180208
...ya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 如何通过命令行工具构建和发布项目 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 发布H5后通过网页打开出现左上角的...
来源: Laya_社区 发布时间: 20190612