Navigation
API > API/Editor > API/Editor/PhysicsAssetEditor > API/Editor/PhysicsAssetEditor/IPhysicsAssetEditor
Description
Add or remove elements from the selection. For Body/CenterOfMass: Indices are body indices. For Bone: Indices are skeleton bone indices. For Constraint: Indices are constraint indices. For primitive types (PrimitiveCapsule, Primitive, etc.): Indices are body indices; the specific enum value determines which shape types are selected within those bodies.
| Name | ModifySelection |
| Type | function |
| Header File | /Engine/Source/Editor/PhysicsAssetEditor/Public/IPhysicsAssetEditor.h |
| Include Path | #include "IPhysicsAssetEditor.h" |
void ModifySelection
(
EPhysicsAssetEditorSelection ElementType,
const TArray < int32 > & Indices,
bool bAddToSelection
)