Navigation
API > API/Plugins > API/Plugins/VCamCore > API/Plugins/VCamCore/UVCamComponent
Description
Tries to add a new Input Profile to the VCam Input Settings and populates it with any currently active player mappable keys Note: The set of currently active player mappable keys may be larger than the set of mappings in this component's Input Profile
Optionally this function can update an existing profile, this will only add any mappable keys that don't currently exist in the profile but will not remove any existing mappings Returns whether the profile was successfully added or updated
| Name | AddInputProfileWithCurrentlyActiveMappings |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/VirtualCameraCore/Source/VCamCore/Public/VCamComponent.h |
| Include Path | #include "VCamComponent.h" |
| Source | /Engine/Plugins/VirtualProduction/VirtualCameraCore/Source/VCamCore/Private/VCamComponent.cpp |
UFUNCTION (BlueprintCallable, Category="VCam Input", Meta=(ReturnDisplayName="Success"))
bool AddInputProfileWithCurrentlyActiveMappings
(
const FName ProfileName,
bool bUpdateIfProfileAlreadyExists
)