大约有 6 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...性值到此矩形对象中。 Rectangle equals(rect:Rectangle):Boolean 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Rectangle intersection(rect:Rectangle, out:Rectangle = null):Rectangle 如果在 rect 参数...
来源: laya_api 发布时间: 20170929
...ate():Rectangle[static] 创建 Rectangle equals(rect:Rectangle):Boolean 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Rectangle intersection(rect:Rectangle, out:Rectangle = null):Rectangle 如果在 rect 参数...
来源: Laya2.0_api 发布时间: 20190513
...ls equals(rect: Rectangle): boolean Defined in laya/maths/Rectangle.ts:192 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Parameters rect: Rectangle 待比较的 Rectangle 对象。 Returns boolean 如果判断的属性...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件 鼠标穿透 Mouse Through 鼠标事件与此对象的碰撞检测是否可穿透 优先本对象 Hit Test Prior 指定鼠标事件检测是优先检测自身,还是优先检测其子对象 Z索引 Zindex 控制 2D 场景中物体或元素的渲染层级和堆叠顺序 堆叠根节点...
来源: Laya3.0_文档 发布时间: 20251010
...为false,如图2-7,此时不对刚体作防穿透处理(连续碰撞检测),会节省性能。当设置为true时,会通过连续碰撞检测防止高速穿透。 ##### 允许休眠 `allowSleep`  (图2-8) 物理引擎进行模拟时,是存在性能消耗的。当...
来源: Laya2.0_文档 发布时间: 20210714
...间 2.8 子弹 bullet 当物体运动速度非常高时,传统的碰撞检测可能无法准确捕捉到碰撞的发生,导致隧穿等问题的出现。这是由于在碰撞检测的两个时间步之间,物体可能已经移动了一个较大的距离,离开了检测范围。这种情况...
来源: Laya3.0_文档 发布时间: 20251010