Navigation
API > API/Plugins > API/Plugins/PCG
Simple wrapper around a raw pointer to hold the default value to mimic how it was stored in the typed attributes.
| Name | FPCGAttributeDefaultValue |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataAttribute.h |
| Include Path | #include "Metadata/PCGMetadataAttribute.h" |
Syntax
struct FPCGAttributeDefaultValue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Metadata/PCGMetadataAttribute.h | |||
| Since this is an internal struct and attributes are never copied with constructor/assignment, just delete the copy/move. | Metadata/PCGMetadataAttribute.h | ||
| Metadata/PCGMetadataAttribute.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPCGAttributeDefaultValue() |
Metadata/PCGMetadataAttribute.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Memory | void * | Metadata/PCGMetadataAttribute.h | ||
| UnderlyingProperty | TSharedPtr< FPCGAttributeProperty > | Metadata/PCGMetadataAttribute.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CopyFrom
(
const void* SrcData |
Metadata/PCGMetadataAttribute.h | ||
void * GetRawPtr () |
Metadata/PCGMetadataAttribute.h | ||
const void * GetRawPtr () |
Metadata/PCGMetadataAttribute.h | ||
void Init
(
TSharedPtr< FPCGAttributeProperty > InUnderlyingProperty |
Metadata/PCGMetadataAttribute.h | ||
bool IsValid() |
Metadata/PCGMetadataAttribute.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGAttributeDefaultValue & operator=
(
const FPCGAttributeDefaultValue& |
Metadata/PCGMetadataAttribute.h | ||
| Metadata/PCGMetadataAttribute.h |