Navigation
API > API/Plugins > API/Plugins/OptimusCore
Structure containing a FName that has been validated for use as a variable or function name in HLSL code. When using this as a UPROPERTY, the UI will use a property customization that validates text entry.
| Name | FOptimusValidatedName |
| Type | struct |
| Header File | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusValidatedName.h |
| Include Path | #include "OptimusValidatedName.h" |
Syntax
USTRUCT ()
struct FOptimusValidatedName
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Name | FName | OptimusValidatedName.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Allow serialization from a legacy FName or FString. | OptimusValidatedName.h | |
FString ToString() |
OptimusValidatedName.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Our default validation function. Returns true if InName is valid. | OptimusValidatedName.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator FName() |
Functions for compatibility with clients expecting a simple FName. | OptimusValidatedName.h | |
bool operator!=
(
FName const& RHS |
OptimusValidatedName.h | ||
FOptimusValidatedName & operator=
(
FName const& RHS |
OptimusValidatedName.h | ||
bool operator==
(
FName const& RHS |
OptimusValidatedName.h |