Cesium for Unreal 2.22.1
Loading...
Searching...
No Matches
FCesiumMetadataValueType Struct Reference

Represents the true value type of a metadata value, akin to the property types in EXT_structural_metadata. More...

#include <CesiumMetadataValueType.h>

Public Member Functions

 FCesiumMetadataValueType ()
 
 FCesiumMetadataValueType (ECesiumMetadataType InType, ECesiumMetadataComponentType InComponentType, bool IsArray=false)
 
bool operator== (const FCesiumMetadataValueType &ValueType) const
 
bool operator!= (const FCesiumMetadataValueType &ValueType) const
 
FString ToString () const
 Prints this value type in the format "(Component Type) (Type) (Array)".
 

Public Attributes

ECesiumMetadataType Type
 The type of the metadata property or value.
 
ECesiumMetadataComponentType ComponentType
 The component type of the metadata property or value.
 
bool bIsArray
 Whether or not this represents an array containing elements of the specified types.
 

Detailed Description

Represents the true value type of a metadata value, akin to the property types in EXT_structural_metadata.

Definition at line 140 of file CesiumMetadataValueType.h.

Constructor & Destructor Documentation

◆ FCesiumMetadataValueType() [1/2]

FCesiumMetadataValueType::FCesiumMetadataValueType ( )

◆ FCesiumMetadataValueType() [2/2]

FCesiumMetadataValueType::FCesiumMetadataValueType ( ECesiumMetadataType InType,
ECesiumMetadataComponentType InComponentType,
bool IsArray = false )

Member Function Documentation

◆ operator!=()

bool FCesiumMetadataValueType::operator!= ( const FCesiumMetadataValueType & ValueType) const
inline

Definition at line 182 of file CesiumMetadataValueType.h.

◆ operator==()

bool FCesiumMetadataValueType::operator== ( const FCesiumMetadataValueType & ValueType) const
inline

Definition at line 177 of file CesiumMetadataValueType.h.

◆ ToString()

FString FCesiumMetadataValueType::ToString ( ) const

Prints this value type in the format "(Component Type) (Type) (Array)".

For example, "Int16 Scalar", "Float32 Mat4 Array", "String Array".

Member Data Documentation

◆ bIsArray

bool FCesiumMetadataValueType::bIsArray

Whether or not this represents an array containing elements of the specified types.

Definition at line 175 of file CesiumMetadataValueType.h.

◆ ComponentType

ECesiumMetadataComponentType FCesiumMetadataValueType::ComponentType

The component type of the metadata property or value.

Only applies when the type is an Enum, Scalar, VecN, or MatN type. For Enum types, the component type applies to the underlying scalars used to represent the enum values.

Definition at line 168 of file CesiumMetadataValueType.h.

◆ Type

ECesiumMetadataType FCesiumMetadataValueType::Type

The type of the metadata property or value.

Definition at line 154 of file CesiumMetadataValueType.h.


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