Cesium for Unreal 2.24.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)".
 

Static Public Member Functions

static FCesiumMetadataValueType fromClassProperty (const Cesium3DTiles::ClassProperty &property)
 Deduces the corresponding value type for a given Cesium3DTiles::ClassProperty.
 

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 144 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

◆ fromClassProperty()

static FCesiumMetadataValueType FCesiumMetadataValueType::fromClassProperty ( const Cesium3DTiles::ClassProperty & property)
static

Deduces the corresponding value type for a given Cesium3DTiles::ClassProperty.

◆ operator!=()

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

Definition at line 186 of file CesiumMetadataValueType.h.

◆ operator==()

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

Definition at line 181 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 179 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 172 of file CesiumMetadataValueType.h.

◆ Type

ECesiumMetadataType FCesiumMetadataValueType::Type

The type of the metadata property or value.

Definition at line 158 of file CesiumMetadataValueType.h.


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