UCapsuleComponent::InitCapsuleSize

Sets the capsule size without triggering a render or physics update. This is the preferred method when initializing a component in a class constructor.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/CapsuleComponent.h

Include

#include "Components/CapsuleComponent.h"

Syntax

void InitCapsuleSize
(
    float InRadius,
    float InHalfHeight
)

Remarks

Sets the capsule size without triggering a render or physics update. This is the preferred method when initializing a component in a class constructor.

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