Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > FKTaperedCapsuleElem
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/TaperedCapsuleElem.h |
Include | #include "PhysicsEngine/TaperedCapsuleElem.h" |
Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysDrawing.cpp |
static void DrawTaperedCapsuleSides
&40;
FPrimitiveDrawInterface &42; PDI,
const FTransform & ElemTM,
const FVector & InCenter0,
const FVector & InCenter1,
float InRadius0,
float InRadius1,
const FColor & Color
&41;
Remarks
Draws just the sides of a tapered capsule specified by provided Spheres that can have different radii. Does not draw the spheres, just the sleeve. Extent geometry endpoints not necessarily coplanar with sphere origins (uses hull horizon) Otherwise uses the great-circle cap assumption.