FKTaperedCapsuleElem::DrawTaperedCapsuleSides

Draws just the sides of a tapered capsule specified by provided Spheres that can have different radii.

Windows
MacOS
Linux

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

Syntax

static void DrawTaperedCapsuleSides
(
    FPrimitiveDrawInterface * PDI,
    const FTransform & ElemTM,
    const FVector & InCenter0,
    const FVector & InCenter1,
    float InRadius0,
    float InRadius1,
    const FColor & Color
)

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss