大约有 66 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
...始一直冒泡派发该事件。所以在 Laya.stage 上监听键盘事件一定能够收到,如果在其他地方监听,则必须处在Stage.focus的冒泡链上才能收到该事件。 用户可以通过代码 Laya.stage.focus=someNode 的方式来设置focus对象。 用户可统一的根据...
来源: Laya3.0_api 发布时间: 20231102
...、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当相同的动画模版被多次使用时,相比于每次都创建新的动画模版,使用动画模版缓存池,只需创建一次,缓存之后多次复用,从而节省了...
来源: Laya3.0_api 发布时间: 20231115
... Defined in laya/components/Script.ts:133 鼠标按住一个物体,拖拽一定距离,释放鼠标按键后执行 Parameters evt: Event Returns void Optional onMouseMove onMouseMove(evt: Event): void Defined in laya/components/Script.ts:113 鼠标在节点上移动时执行 Parameters evt: Event...
来源: Laya3.0_api 发布时间: 20231115
...化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存空间,当可用空间不足时,优先使用这部分内存,如果还不够,则重新分配所需内存。 Returns Byte Properties Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in laya/util...
来源: Laya3.0_api 发布时间: 20231115
...ined in laya/d3/core/Camera.ts:574 是否开启HDR。 开启后对性能有一定影响。 Returns boolean Defined in laya/d3/core/Camera.ts:578 是否开启HDR。 开启后对性能有一定影响。 Parameters value: boolean Returns void farPlane get farPlane(): number set farPlane(vaule: number):...
来源: Laya3.0_api 发布时间: 20231115
...ined in laya/d3/core/Camera.ts:574 是否开启HDR。 开启后对性能有一定影响。 Returns boolean Inherited from Camera.enableHDR Defined in laya/d3/core/Camera.ts:578 是否开启HDR。 开启后对性能有一定影响。 Parameters value: boolean Returns void farPlane get farPlane(): num...
来源: 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 AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231102
...为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231102
...为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标事件检...
来源: Laya3.0_api 发布时间: 20231115