![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Inheritance diagram for FConsoleVariableShadow:Protected Member Functions | |
| virtual IConsoleObject * | GetRealObject () const override |
| virtual void | SetRealObject (IConsoleObject *Object) const override |
| virtual FString | GetThisName () const override |
Protected Member Functions inherited from FConsoleObjectShadowData | |
| FConsoleObjectShadowData (const TCHAR *CVarToShadow, EShadowCVarBehavior InLookupBehavior, EShadowCVarBehavior InUsageBehavior, bool bInIsDeprecated, const TCHAR *InDeprecatedVersion, const TCHAR *InDeprecationMessage=nullptr) | |
| virtual | ~FConsoleObjectShadowData () |
| void | LogOrEditorMessage (const FText &Msg, bool bIsError) const |
| bool | Bind () const |
| bool | BindForUsage () const |
Additional Inherited Members | |
Protected Attributes inherited from FConsoleObjectShadowData | |
| FString | ShadowName |
| FString | DeprecatedVersion |
| FString | DeprecationMessage |
| EShadowCVarBehavior | LookupBehavior |
| EShadowCVarBehavior | UsageBehavior |
| uint8 | bHasLooked: 1 |
| uint8 | bHasMessagedForUsage: 1 |
| uint8 | bHasMessagedEditorForUsage: 1 |
| uint8 | bIsDeprecated: 1 |
|
inline |
|
inlineoverridevirtual |
Casts this object to an IConsoleVariable, returns 0 if it's not
Reimplemented from IConsoleObject.
|
inlineoverridevirtual |
Reimplemented from IConsoleObject.
|
inlineoverridevirtual |
Reimplemented from IConsoleObject.
|
inlineoverridevirtual |
Reimplemented from IConsoleObject.
|
inlineoverridevirtual |
Reimplemented from IConsoleObject.
Get the internal value as a bool, works on bools, ints and floats.
Implements IConsoleVariable.
|
inlineoverridevirtual |
Get the value this CVar was constructed with
Implements IConsoleVariable.
Reimplemented from IConsoleObject.
|
inlineoverridevirtual |
Get the internal state of the flags.
Implements IConsoleObject.
Get the internal value as float (works on all types).
Implements IConsoleVariable.
Implements IConsoleObject.
Track memory used by history data
Implements IConsoleVariable.
Get the internal value as int (should not be used on strings).
Implements IConsoleVariable.
|
inlineoverrideprotectedvirtual |
Implements FConsoleObjectShadowData.
|
inlineoverridevirtual |
If IsShadowObject() returns true, this function will return the "real" variable the shadow cvar is shadowing. Generally not needed, as most functions (like GetInt, Set, etc) will operate on the real variable already
Reimplemented from IConsoleObject.
|
inlineoverridevirtual |
Get the internal value as string (works on all types).
Implements IConsoleVariable.
|
inlineoverrideprotectedvirtual |
Implements FConsoleObjectShadowData.
Reimplemented from IConsoleObject.
A shadow ConsoleObject is one that exists and can be used, but shouldn't be iterated over in anything that walks over every object and acts on it
Reimplemented from IConsoleObject.
Reimplemented from IConsoleObject.
Reimplemented from IConsoleObject.
Reimplemented from IConsoleObject.
Reimplemented from IConsoleObject.
|
inlineoverridevirtual |
Print the history to a log
Implements IConsoleVariable.
|
inlineoverridevirtual |
Implements IConsoleVariable.
should only be called by the manager, needs to be implemented for each instance
Implements IConsoleObject.
|
inlineoverridevirtual |
Implements IConsoleVariable.
|
inlineoverridevirtual |
Set the internal value from the specified string.
| InValue | Internal Value to Set |
| Context | The ResolvedContext of the FSetContext |
Implements IConsoleVariable.
|
inlineoverridevirtual |
Sets the internal flag state to the specified value.
Implements IConsoleObject.
Implements IConsoleObject.
|
inlineoverridevirtual |
Allows to specify a callback function that is called when the console variable value changes. Is even called if the value is the same as the value before. Will always be on the game thread. This can be dangerous (instead try to use RegisterConsoleVariableSink())
Implements IConsoleVariable.
|
inlineoverrideprotectedvirtual |
Implements FConsoleObjectShadowData.
|
inlineoverridevirtual |
Unsets the value at a certain SetBy priority (this is only useful when UE_ALLOW_CVAR_HISTORY is set). The value of the CVar will be recalculated based on remaining History levels
| SetBy | anything in ECVF_LastSetMask e.g. ECVF_SetByScalability |
| Tag | tag used to remove a setting from an ARRAY type SetBy |
Implements IConsoleVariable.