Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectUserCapsuleParams
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectTypes.h |
| Include | #include "SmartObjectTypes.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectTypes.cpp |
FSmartObjectAnnotationCollider GetAsCollider
&40;
const FVector & Location,
const FQuat & Rotation
&41; const
Remarks
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). annotation collider representing the capsule.
Parameters
| Name | Description |
|---|---|
| Location | Location of the collider. |
| Rotation | Rotation of the collider. |