Navigation
API > API/Editor > API/Editor/PhysicsAssetEditor
Element types in the Physics Asset Editor selection system.
Individual primitive types allow shape-specific selection via ModifySelection.
| Name | EPhysicsAssetEditorSelection |
| Type | enum |
| Header File | /Engine/Source/Editor/PhysicsAssetEditor/Public/PhysicsAssetEditorSelectionType.h |
| Include Path | #include "PhysicsAssetEditorSelectionType.h" |
Syntax
enum EPhysicsAssetEditorSelection
{
None = 0,
Body = 1 << 0,
CenterOfMass = 1 << 1,
Constraint = 1 << 2,
Primitive = 1 << 3,
Bone = 1 << 4,
PrimitiveSphere = 1 << 5,
PrimitiveBox = 1 << 6,
PrimitiveCapsule = 1 << 7,
PrimitiveConvex = 1 << 8,
PrimitiveTaperedCapsule = 1 << 9,
PrimitiveLevelSet = 1 << 10,
PrimitiveSkinnedLevelSet = 1 << 11,
AllPrimitive = PrimitiveSphere | PrimitiveBox | PrimitiveCapsule | PrimitiveConvex | PrimitiveTaperedCapsule | PrimitiveLevelSet | PrimitiveSkinnedLevelSet,
All = ~None,
}
Values
| Name | Remarks |
|---|---|
| None | |
| Body | |
| CenterOfMass | |
| Constraint | |
| Primitive | |
| Bone | |
| PrimitiveSphere | Individual primitive types (for shape-specific selection) |
| PrimitiveBox | |
| PrimitiveCapsule | |
| PrimitiveConvex | |
| PrimitiveTaperedCapsule | |
| PrimitiveLevelSet | |
| PrimitiveSkinnedLevelSet | |
| AllPrimitive | Combined: all primitive types. |
| All |