Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Annotation to check if a smart object user can stand on the slot without overlaps. Uses validation filter to get the user capsule for collisions testing, or use specific capsule defined in the annotation.
| Name | FSmartObjectAnnotation_SlotUserCollision |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/Annotations/SmartObjectAnnotation_SlotUserCollision.h |
| Include Path | #include "Annotations/SmartObjectAnnotation_SlotUserCollision.h" |
Syntax
USTRUCT (Meta=(DisplayName="Slot User Collision"))
struct FSmartObjectAnnotation_SlotUserCollision : public FSmartObjectSlotAnnotation
Inheritance Hierarchy
- FSmartObjectDefinitionData → FSmartObjectSlotAnnotation → FSmartObjectAnnotation_SlotUserCollision
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseUserCapsuleSize | bool | If true, the user capsule size is got from validation filter and used for testing. | Annotations/SmartObjectAnnotation_SlotUserCollision.h |
|
| Capsule | FSmartObjectUserCapsuleParams | Dimensions of the capsule to test at the slot location. | Annotations/SmartObjectAnnotation_SlotUserCollision.h |
|