Description
The SupportsMultiEdit
property indicates whether the PhysicsLockControlWidget
supports multi-editing capabilities. This property is useful in scenarios where multiple objects need to be edited simultaneously, allowing for batch operations on properties that are common across selected objects.
Usage
To determine if the PhysicsLockControlWidget
supports multi-editing, you can access the SupportsMultiEdit
property. This property returns a boolean value:
true
- Multi-editing is supported.
false
- Multi-editing is not supported.
This property is virtual, allowing derived classes to override its behavior if necessary.
Example
// Example of checking the SupportsMultiEdit property
PhysicsLockControlWidget widget = new PhysicsLockControlWidget();
if (widget.SupportsMultiEdit)
{
// Perform operations that require multi-edit support
// For example, apply changes to multiple selected objects
}
else
{
// Handle the case where multi-edit is not supported
// Perhaps notify the user or disable certain UI elements
}