useContactFiltering
Whether PhysicsDebugWindow takes the PhysicsVisualizationSettings filtering settings into account when visualizing contacts.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool useContactFiltering { get; set; }
Remarks
If you set this property to true, the PhysicsDebugWindow takes PhysicsVisualizationSettings filtering settings into account when collecting contacts for visualization.
If you set this property to false, the PhysicsDebugWindow visualizes all contacts.