Cesium for Unity 1.15.2
Loading...
Searching...
No Matches
CesiumForUnity.CesiumMetadataValueType Struct Reference

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

Public Member Functions

 CesiumMetadataValueType (CesiumMetadataType type, CesiumMetadataComponentType componentType, bool isArray)
 Constructs a metadata value type from the given parameters.
 

Static Public Member Functions

static CesiumMetadataValueType GetValueType (System.Object inObject)
 

Public Attributes

CesiumMetadataType type
 The type of the metadata property or value.
 
CesiumMetadataComponentType componentType
 The component of the metadata property or value.
 
bool isArray
 Whether or not this represents an array containing elements of the specified types.
 

Detailed Description

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

Definition at line 48 of file CesiumMetadataValueType.cs.

Constructor & Destructor Documentation

◆ CesiumMetadataValueType()

CesiumForUnity.CesiumMetadataValueType.CesiumMetadataValueType ( CesiumMetadataType type,
CesiumMetadataComponentType componentType,
bool isArray )
inline

Constructs a metadata value type from the given parameters.

Parameters
typeThe type of the metadata property or value.
componentTypeThe component type of the metadata property or value.
isArrayWhether or not the property or value is an array.

Definition at line 76 of file CesiumMetadataValueType.cs.

Member Function Documentation

◆ GetValueType()

static CesiumMetadataValueType CesiumForUnity.CesiumMetadataValueType.GetValueType ( System.Object inObject)
inlinestatic

Definition at line 86 of file CesiumMetadataValueType.cs.

Member Data Documentation

◆ componentType

CesiumMetadataComponentType CesiumForUnity.CesiumMetadataValueType.componentType

The component of the metadata property or value.

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

Definition at line 60 of file CesiumMetadataValueType.cs.

◆ isArray

bool CesiumForUnity.CesiumMetadataValueType.isArray

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

Definition at line 66 of file CesiumMetadataValueType.cs.

◆ type

CesiumMetadataType CesiumForUnity.CesiumMetadataValueType.type

The type of the metadata property or value.

Definition at line 54 of file CesiumMetadataValueType.cs.


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