Description
The IsMultiSelecting
property is a static boolean property of the BaseMeshTool
class within the Editor.MeshEditor
namespace. It indicates whether the mesh editor is currently in a multi-selection mode, allowing the user to select multiple elements (such as vertices, edges, or faces) simultaneously.
Usage
Use the IsMultiSelecting
property to check if the mesh editor is in multi-selection mode. This can be useful for determining how selection operations should be handled within custom tools or extensions of the BaseMeshTool
class.
Since IsMultiSelecting
is a static property, it can be accessed directly through the class name without needing an instance of BaseMeshTool
.
Example
// Example of checking the multi-selection state
if (BaseMeshTool.IsMultiSelecting)
{
// Perform operations specific to multi-selection mode
// For example, highlight all selected elements
}
else
{
// Handle single selection mode
// For example, highlight only the currently selected element
}