maxInteractionDistance
The maximal distance considered when casting world-space rays to determine the target of pointer events.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public float maxInteractionDistance { get; set; }
Remarks
The default Raycasting Distance is Mathf.Infinity.
If World Space input is disabled, this property has no effect.