Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/Annotations
Inheritance Hierarchy
- FSmartObjectDefinitionData
- FSmartObjectSlotAnnotation
- FSmartObjectAnnotation_SlotUserCollision
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/Annotations/SmartObjectAnnotation_SlotUserCollision.h |
| Include | #include "Annotations/SmartObjectAnnotation_SlotUserCollision.h" |
Syntax
USTRUCT (Meta=(DisplayName="Slot User Collision"))
struct FSmartObjectAnnotation_SlotUserCollision : public FSmartObjectSlotAnnotation
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseUserCapsuleSize | If true, the user capsule size is got from validation filter and used for testing. | |
| FSmartObjectUserCapsuleParams | Capsule | Dimensions of the capsule to test at the slot location. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetColliders
(
const FSmartObjectUserCapsuleParams& UserCapsule, |
Overridden from FSmartObjectSlotAnnotation
| Type | Name | Description | |
|---|---|---|---|
| void | DrawVisualization
(
FSmartObjectVisualizationContext& VisContext |
Methods to override to draw 3D visualization of the annotation. | |
| void | DrawVisualizationHUD
(
FSmartObjectVisualizationContext& VisContext |
Methods to override to draw canvas visualization of the annotation. |