Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
FCesiumMetadataPropertyDetails Struct Reference

Represents information about a metadata property according to how the property is defined in EXT_structural_metadata. More...

#include <CesiumMetadataPropertyDetails.h>

Public Member Functions

 FCesiumMetadataPropertyDetails ()
 
 FCesiumMetadataPropertyDetails (ECesiumMetadataType InType, ECesiumMetadataComponentType InComponentType, bool IsArray)
 
bool operator== (const FCesiumMetadataPropertyDetails &ValueType) const
 
bool operator!= (const FCesiumMetadataPropertyDetails &ValueType) const
 
FCesiumMetadataValueType GetValueType () const
 Returns the internal types as a FCesiumMetadataValueType.
 
void SetValueType (FCesiumMetadataValueType ValueType)
 Sets the internal types to the values supplied by the input FCesiumMetadataValueType.
 
bool HasValueTransforms () const
 Whether this property has one or more value transforms.
 

Public Attributes

ECesiumMetadataType Type = ECesiumMetadataType::Invalid
 The type of the metadata property.
 
ECesiumMetadataComponentType ComponentType
 The component of the metadata property.
 
bool bIsArray = false
 Whether or not this represents an array containing elements of the specified types.
 
int64 ArraySize = 0
 The size of the arrays in the metadata property.
 
bool bIsNormalized = false
 Whether or not the values in this property are normalized.
 
bool bHasOffset = false
 Whether or not the property is transformed by an offset.
 
bool bHasScale = false
 Whether or not the property is transformed by a scale.
 
bool bHasNoDataValue = false
 Whether or not the property specifies a "no data" value.
 
bool bHasDefaultValue = false
 Whether or not the property specifies a default value.
 

Detailed Description

Represents information about a metadata property according to how the property is defined in EXT_structural_metadata.

Definition at line 15 of file CesiumMetadataPropertyDetails.h.

Constructor & Destructor Documentation

◆ FCesiumMetadataPropertyDetails() [1/2]

FCesiumMetadataPropertyDetails::FCesiumMetadataPropertyDetails ( )
inline

Definition at line 18 of file CesiumMetadataPropertyDetails.h.

◆ FCesiumMetadataPropertyDetails() [2/2]

FCesiumMetadataPropertyDetails::FCesiumMetadataPropertyDetails ( ECesiumMetadataType InType,
ECesiumMetadataComponentType InComponentType,
bool IsArray )
inline

Definition at line 23 of file CesiumMetadataPropertyDetails.h.

Member Function Documentation

◆ GetValueType()

FCesiumMetadataValueType FCesiumMetadataPropertyDetails::GetValueType ( ) const
inline

Returns the internal types as a FCesiumMetadataValueType.

Definition at line 147 of file CesiumMetadataPropertyDetails.h.

◆ HasValueTransforms()

bool FCesiumMetadataPropertyDetails::HasValueTransforms ( ) const
inline

Whether this property has one or more value transforms.

This includes normalization, offset, and scale, as well as the "no data" and default values.

Definition at line 166 of file CesiumMetadataPropertyDetails.h.

◆ operator!=()

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

Definition at line 140 of file CesiumMetadataPropertyDetails.h.

◆ operator==()

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

Definition at line 134 of file CesiumMetadataPropertyDetails.h.

◆ SetValueType()

void FCesiumMetadataPropertyDetails::SetValueType ( FCesiumMetadataValueType ValueType)
inline

Sets the internal types to the values supplied by the input FCesiumMetadataValueType.

Definition at line 155 of file CesiumMetadataPropertyDetails.h.

Member Data Documentation

◆ ArraySize

int64 FCesiumMetadataPropertyDetails::ArraySize = 0

The size of the arrays in the metadata property.

If the property contains arrays of varying length, this will be zero even though bIsArray will be true> If this property does not contain arrays, this is set to zero.

Definition at line 64 of file CesiumMetadataPropertyDetails.h.

◆ bHasDefaultValue

bool FCesiumMetadataPropertyDetails::bHasDefaultValue = false

Whether or not the property specifies a default value.

This default value is used use when encountering a "no data" value in the property, or when a non-required property has been omitted.

Definition at line 131 of file CesiumMetadataPropertyDetails.h.

◆ bHasNoDataValue

bool FCesiumMetadataPropertyDetails::bHasNoDataValue = false

Whether or not the property specifies a "no data" value.

This value functions a sentinel value, indicating missing data wherever it appears.

Definition at line 118 of file CesiumMetadataPropertyDetails.h.

◆ bHasOffset

bool FCesiumMetadataPropertyDetails::bHasOffset = false

Whether or not the property is transformed by an offset.

This value is defined either in the class property, or in the instance of the property itself.

Definition at line 93 of file CesiumMetadataPropertyDetails.h.

◆ bHasScale

bool FCesiumMetadataPropertyDetails::bHasScale = false

Whether or not the property is transformed by a scale.

This value is defined either in the class property, or in the instance of the property itself.

Definition at line 106 of file CesiumMetadataPropertyDetails.h.

◆ bIsArray

bool FCesiumMetadataPropertyDetails::bIsArray = false

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

Definition at line 53 of file CesiumMetadataPropertyDetails.h.

◆ bIsNormalized

bool FCesiumMetadataPropertyDetails::bIsNormalized = false

Whether or not the values in this property are normalized.

Only applicable to scalar, vecN, and matN types with integer components.

For unsigned integer component types, values are normalized between [0.0, 1.0]. For signed integer component types, values are normalized between [-1.0, 1.0]

Definition at line 80 of file CesiumMetadataPropertyDetails.h.

◆ ComponentType

ECesiumMetadataComponentType FCesiumMetadataPropertyDetails::ComponentType
Initial value:

The component of the metadata property.

Only applies when the type is a Scalar, VecN, or MatN type.

Definition at line 45 of file CesiumMetadataPropertyDetails.h.

◆ Type

ECesiumMetadataType FCesiumMetadataPropertyDetails::Type = ECesiumMetadataType::Invalid

The type of the metadata property.

Definition at line 33 of file CesiumMetadataPropertyDetails.h.


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