Navigation
API > API/Plugins > API/Plugins/RemoteControlLogic
Custom behaviour for Set Asset By Path Logic Behaviour
| Name | URCRangeMapBehaviour |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControlLogic/Public/Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h |
| Include Path | #include "Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h" |
Syntax
UCLASS ()
class URCRangeMapBehaviour : public URCBehaviour
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URCBehaviour → URCRangeMapBehaviour
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URCRangeMapBehaviour() |
Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PropertyContainer | TObjectPtr< URCVirtualPropertyContainerBase > | Pointer to property container | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
| RangeMapActionContainer | TMap< TObjectPtr< URCAction >, FRCRangeMapInput > | Container holding all FRCRangeMapInputs correlating to each Action in the ActionContainer. | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ControllerFloatValue | float | Controller Value of Type Float, which is used for the purpose of readability. | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
| InputMax | double | Maximum Value which the Range has | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
| InputMin | double | Minimum Value which the Range has | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetValueForAction
(
const URCAction* InAction, |
Returns the Step value associated with a given Action | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
void OnActionAdded
(
URCAction* Action, |
Called whenever a new action is added into the ActionContainer. | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
void Refresh() |
Refresh function being called whenever either the Controller or the Properties of the Behaviour Details Panel change | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h |
Overridden from URCBehaviour
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual URCAction * AddAction
(
const TSharedRef< const FRemoteControlField > InRemoteControlField |
Adds an Action to the ActionContainer, whilst making sure that it is unique. | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
virtual bool CanHaveActionForField
(
const TSharedPtr< FRemoteControlField > InRemoteControlField |
Checks whether or not one of the following fields can be added to the AddAction Menu. | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
virtual URCAction * DuplicateAction
(
URCAction* InAction, |
Duplicates an Action belonging to us into a given target behaviour | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
virtual void Initialize() |
Initialize behaviour functionality. Called just once when created by a controller. | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
virtual void NotifyActionValueChanged
(
URCAction* InChangedAction |
Called when an action value changed | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h | |
virtual bool SupportPropertyId() |
Whether the behaviour support property id | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h |
Protected
Overridden from URCBehaviour
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ExecuteInternal
(
const TSet< TObjectPtr< URCAction > >& InActionsToExecute |
Execute all the action if not provided a valid Action otherwise will only execute the given action | Behaviour/Builtin/RangeMap/RCRangeMapBehaviour.h |