![]() |
Cesium for Unity 1.15.2
|
Represents an array value from a property in glTF metadata. More...
Properties | |
CesiumMetadataValueType | elementValueType [get, set] |
The value type of the elements in the array. | |
Int64 | length [get] |
Gets the number of elements in the array. | |
CesiumMetadataValue | this[Int64 index] [get] |
Retrieves an element from the array as a CesiumMetadataValue. | |
Represents an array value from a property in glTF metadata.
The values belong to one of the supported property types in EXT_structural_metadata.
Definition at line 9 of file CesiumPropertyArray.cs.
|
getset |
The value type of the elements in the array.
Some of these types are not accessible from Unity, but can be converted to a close-fitting type.
Definition at line 27 of file CesiumPropertyArray.cs.
|
get |
Gets the number of elements in the array.
Returns 0 if the elements have an unknown type.
Definition at line 36 of file CesiumPropertyArray.cs.
|
get |
Retrieves an element from the array as a CesiumMetadataValue.
The value can then be retrieved as a specific C# or Unity type.
If the index is out-of-bounds, this returns a bogus CesiumMetadataValue of an unknown type.
index | The desired index |
Definition at line 50 of file CesiumPropertyArray.cs.