Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectUserCapsuleParams
Description
Returns the capsule as an annotation collider at specified world location and rotation. The capsule is placed so that Z-axis of the rotation is considered up. The values specified in the struct will be constrained to create valid collider (and thus can differ from the set values).
| Name | GetAsCollider |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectTypes.h |
| Include Path | #include "SmartObjectTypes.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectTypes.cpp |
FSmartObjectAnnotationCollider GetAsCollider
(
const FVector & Location,
const FQuat & Rotation
) const
annotation collider representing the capsule.
Parameters
| Name | Remarks |
|---|---|
| Location | Location of the collider. |
| Rotation | Rotation of the collider. |