Cesium for Unreal 2.24.1
Loading...
Searching...
No Matches
FCesiumMetadataValue Struct Reference

A Blueprint-accessible wrapper for a glTF metadata value. More...

#include <CesiumMetadataValue.h>

Public Member Functions

 FCesiumMetadataValue ()
 Constructs an empty metadata value with unknown type.
 
template<typename T>
 FCesiumMetadataValue (const T &Value, const TSharedPtr< FCesiumMetadataEnum > &pEnumDefinition)
 Constructs a metadata value with the given input.
 
template<typename T>
 FCesiumMetadataValue (const T &Value)
 Constructs a metadata value with the given input.
 
template<typename ArrayType>
 FCesiumMetadataValue (const CesiumGltf::PropertyArrayView< ArrayType > &Value, const TSharedPtr< FCesiumMetadataEnum > &pEnumDefinition=nullptr)
 
template<typename ArrayType>
 FCesiumMetadataValue (const CesiumGltf::PropertyArrayCopy< ArrayType > &Copy, const TSharedPtr< FCesiumMetadataEnum > &pEnumDefinition=nullptr)
 
template<typename ArrayType>
 FCesiumMetadataValue (CesiumGltf::PropertyArrayView< ArrayType > &&Value, const TSharedPtr< FCesiumMetadataEnum > &pEnumDefinition=nullptr)
 
template<typename ArrayType>
 FCesiumMetadataValue (CesiumGltf::PropertyArrayCopy< ArrayType > &&Copy, const TSharedPtr< FCesiumMetadataEnum > &pEnumDefinition=nullptr)
 
template<typename T>
 FCesiumMetadataValue (const std::optional< T > &MaybeValue, const TSharedPtr< FCesiumMetadataEnum > &pEnumDefinition=nullptr)
 Constructs a metadata value with the given optional input.
 
 FCesiumMetadataValue (FCesiumPropertyArray &&Array)
 Constructs a metadata value from a given FCesiumPropertyArray.
 
 FCesiumMetadataValue (const CesiumUtility::JsonValue &JsonValue, const FCesiumMetadataValueType &TargetType)
 Constructs a FCesiumMetadataValue with the specified type from a CesiumUtility::JsonValue.
 
 FCesiumMetadataValue (FCesiumMetadataValue &&rhs)
 
FCesiumMetadataValueoperator= (FCesiumMetadataValue &&rhs)
 
 FCesiumMetadataValue (const FCesiumMetadataValue &rhs)
 
FCesiumMetadataValueoperator= (const FCesiumMetadataValue &rhs)
 

Friends

class UCesiumMetadataValueBlueprintLibrary
 
class CesiumMetadataValueAccess
 
class UCesiumPropertyArrayBlueprintLibrary
 

Detailed Description

A Blueprint-accessible wrapper for a glTF metadata value.

Definition at line 25 of file CesiumMetadataValue.h.

Constructor & Destructor Documentation

◆ FCesiumMetadataValue() [1/12]

FCesiumMetadataValue::FCesiumMetadataValue ( )

Constructs an empty metadata value with unknown type.

◆ FCesiumMetadataValue() [2/12]

template<typename T>
FCesiumMetadataValue::FCesiumMetadataValue ( const T & Value,
const TSharedPtr< FCesiumMetadataEnum > & pEnumDefinition )
inlineexplicit

Constructs a metadata value with the given input.

Parameters
ValueThe value to be stored in this struct.
pEnumDefinitionThe enum definition for this metadata value, or nullptr if not an enum.

Definition at line 120 of file CesiumMetadataValue.h.

◆ FCesiumMetadataValue() [3/12]

template<typename T>
FCesiumMetadataValue::FCesiumMetadataValue ( const T & Value)
inlineexplicit

Constructs a metadata value with the given input.

Parameters
ValueThe value to be stored in this struct.

Definition at line 134 of file CesiumMetadataValue.h.

◆ FCesiumMetadataValue() [4/12]

template<typename ArrayType>
FCesiumMetadataValue::FCesiumMetadataValue ( const CesiumGltf::PropertyArrayView< ArrayType > & Value,
const TSharedPtr< FCesiumMetadataEnum > & pEnumDefinition = nullptr )
inlineexplicit

Definition at line 138 of file CesiumMetadataValue.h.

◆ FCesiumMetadataValue() [5/12]

template<typename ArrayType>
FCesiumMetadataValue::FCesiumMetadataValue ( const CesiumGltf::PropertyArrayCopy< ArrayType > & Copy,
const TSharedPtr< FCesiumMetadataEnum > & pEnumDefinition = nullptr )
inlineexplicit

Definition at line 146 of file CesiumMetadataValue.h.

◆ FCesiumMetadataValue() [6/12]

template<typename ArrayType>
FCesiumMetadataValue::FCesiumMetadataValue ( CesiumGltf::PropertyArrayView< ArrayType > && Value,
const TSharedPtr< FCesiumMetadataEnum > & pEnumDefinition = nullptr )
inlineexplicit

Definition at line 154 of file CesiumMetadataValue.h.

◆ FCesiumMetadataValue() [7/12]

template<typename ArrayType>
FCesiumMetadataValue::FCesiumMetadataValue ( CesiumGltf::PropertyArrayCopy< ArrayType > && Copy,
const TSharedPtr< FCesiumMetadataEnum > & pEnumDefinition = nullptr )
inlineexplicit

Definition at line 165 of file CesiumMetadataValue.h.

◆ FCesiumMetadataValue() [8/12]

template<typename T>
FCesiumMetadataValue::FCesiumMetadataValue ( const std::optional< T > & MaybeValue,
const TSharedPtr< FCesiumMetadataEnum > & pEnumDefinition = nullptr )
inlineexplicit

Constructs a metadata value with the given optional input.

Parameters
MaybeValueThe optional value to be stored in this struct.
pEnumDefinitionThe enum definition for this metadata value, or nullptr if not an enum.

Definition at line 183 of file CesiumMetadataValue.h.

◆ FCesiumMetadataValue() [9/12]

FCesiumMetadataValue::FCesiumMetadataValue ( FCesiumPropertyArray && Array)

Constructs a metadata value from a given FCesiumPropertyArray.

◆ FCesiumMetadataValue() [10/12]

FCesiumMetadataValue::FCesiumMetadataValue ( const CesiumUtility::JsonValue & JsonValue,
const FCesiumMetadataValueType & TargetType )

Constructs a FCesiumMetadataValue with the specified type from a CesiumUtility::JsonValue.

This is a strict interpretation of the value; conversion will not be done between types or component types, even if possible.

Parameters
JsonValueThe JSON value.
TargetTypeThe value type to which to convert the JSON value.
Returns
The value as an FCesiumMetadataValue.

◆ FCesiumMetadataValue() [11/12]

FCesiumMetadataValue::FCesiumMetadataValue ( FCesiumMetadataValue && rhs)

◆ FCesiumMetadataValue() [12/12]

FCesiumMetadataValue::FCesiumMetadataValue ( const FCesiumMetadataValue & rhs)

Member Function Documentation

◆ operator=() [1/2]

FCesiumMetadataValue & FCesiumMetadataValue::operator= ( const FCesiumMetadataValue & rhs)

◆ operator=() [2/2]

FCesiumMetadataValue & FCesiumMetadataValue::operator= ( FCesiumMetadataValue && rhs)

Friends And Related Symbol Documentation

◆ CesiumMetadataValueAccess

friend class CesiumMetadataValueAccess
friend

Definition at line 254 of file CesiumMetadataValue.h.

◆ UCesiumMetadataValueBlueprintLibrary

Definition at line 253 of file CesiumMetadataValue.h.

◆ UCesiumPropertyArrayBlueprintLibrary

Definition at line 255 of file CesiumMetadataValue.h.


The documentation for this struct was generated from the following file: