![]() |
Cesium for Unity 1.15.2
|
Represents a glTF property table property in EXT_structural_metadata. More...
Public Member Functions | |
partial Boolean | GetBoolean (Int64 featureID, Boolean defaultValue=false) |
Attempts to retrieve the value for the given feature as a boolean. | |
partial SByte | GetSByte (Int64 featureID, SByte defaultValue=0) |
Attempts to retrieve the value for the given feature as a signed 8-bit integer. | |
partial Byte | GetByte (Int64 featureID, Byte defaultValue=0) |
Attempts to retrieve the value for the given feature as an unsigned 8-bit integer. | |
partial Int16 | GetInt16 (Int64 featureID, Int16 defaultValue=0) |
Attempts to retrieve the value for the given feature as a signed 16-bit integer. | |
partial UInt16 | GetUInt16 (Int64 featureID, UInt16 defaultValue=0) |
Attempts to retrieve the value for the given feature as an unsigned 16-bit integer. | |
partial Int32 | GetInt32 (Int64 featureID, Int32 defaultValue=0) |
Attempts to retrieve the value for the given feature as a signed 32-bit integer. | |
partial UInt32 | GetUInt32 (Int64 featureID, UInt32 defaultValue=0) |
Attempts to retrieve the value for the given feature as an unsigned 32-bit integer. | |
partial Int64 | GetInt64 (Int64 featureID, Int64 defaultValue=0) |
Attempts to retrieve the value for the given feature as a signed 64-bit integer. | |
partial UInt64 | GetUInt64 (Int64 featureID, UInt64 defaultValue=0) |
Attempts to retrieve the value for the given feature as an unsigned 64-bit integer. | |
partial float | GetFloat (Int64 featureID, float defaultValue=0.0f) |
Attempts to retrieve the value for the given feature as a single-precision floating-point number. | |
partial double | GetDouble (Int64 featureID, double defaultValue=0.0) |
Attempts to retrieve the value for the given feature as a double-precision floating-point number. | |
partial int2 | GetInt2 (Int64 featureID, int2 defaultValue) |
Attempts to retrieve the value for the given feature as a int2. | |
partial uint2 | GetUInt2 (Int64 featureID, uint2 defaultValue) |
Attempts to retrieve the value for the given feature as a uint2. | |
partial float2 | GetFloat2 (Int64 featureID, float2 defaultValue) |
Attempts to retrieve the value for the given feature as a float2. | |
partial double2 | GetDouble2 (Int64 featureID, double2 defaultValue) |
Attempts to retrieve the value for the given feature as a double2. | |
partial int3 | GetInt3 (Int64 featureID, int3 defaultValue) |
Attempts to retrieve the value for the given feature as a int3. | |
partial uint3 | GetUInt3 (Int64 featureID, uint3 defaultValue) |
Attempts to retrieve the value for the given feature as a uint3. | |
partial float3 | GetFloat3 (Int64 featureID, float3 defaultValue) |
Attempts to retrieve the value for the given feature as a float3. | |
partial double3 | GetDouble3 (Int64 featureID, double3 defaultValue) |
Attempts to retrieve the value for the given feature as a double3. | |
partial int4 | GetInt4 (Int64 featureID, int4 defaultValue) |
Attempts to retrieve the value for the given feature as a int4. | |
partial uint4 | GetUInt4 (Int64 featureID, uint4 defaultValue) |
Attempts to retrieve the value for the given feature as a uint4. | |
partial float4 | GetFloat4 (Int64 featureID, float4 defaultValue) |
Attempts to retrieve the value for the given feature as a float4. | |
partial double4 | GetDouble4 (Int64 featureID, double4 defaultValue) |
Attempts to retrieve the value for the given feature as a double4. | |
partial int2x2 | GetInt2x2 (Int64 featureID, int2x2 defaultValue) |
Attempts to retrieve the value for the given feature as a int2x2. | |
partial uint2x2 | GetUInt2x2 (Int64 featureID, uint2x2 defaultValue) |
Attempts to retrieve the value for the given feature as a uint2x2. | |
partial float2x2 | GetFloat2x2 (Int64 featureID, float2x2 defaultValue) |
Attempts to retrieve the value for the given feature as a float2x2. | |
partial double2x2 | GetDouble2x2 (Int64 featureID, double2x2 defaultValue) |
Attempts to retrieve the value for the given feature as a double2x2. | |
partial int3x3 | GetInt3x3 (Int64 featureID, int3x3 defaultValue) |
Attempts to retrieve the value for the given feature as a int3x3. | |
partial uint3x3 | GetUInt3x3 (Int64 featureID, uint3x3 defaultValue) |
Attempts to retrieve the value for the given feature as a uint3x3. | |
partial float3x3 | GetFloat3x3 (Int64 featureID, float3x3 defaultValue) |
Attempts to retrieve the value for the given feature as a float3x3. | |
partial double3x3 | GetDouble3x3 (Int64 featureID, double3x3 defaultValue) |
Attempts to retrieve the value for the given feature as a double3x3. | |
partial int4x4 | GetInt4x4 (Int64 featureID, int4x4 defaultValue) |
Attempts to retrieve the value for the given feature as a int4x4. | |
partial uint4x4 | GetUInt4x4 (Int64 featureID, uint4x4 defaultValue) |
Attempts to retrieve the value for the given feature as a uint4x4. | |
partial float4x4 | GetFloat4x4 (Int64 featureID, float4x4 defaultValue) |
Attempts to retrieve the value for the given feature as a float4x4. | |
partial double4x4 | GetDouble4x4 (Int64 featureID, double4x4 defaultValue) |
Attempts to retrieve the value for the given feature as a double4x4. | |
partial String | GetString (Int64 featureID, String defaultValue="") |
Attempts to retrieve the value for the given feature as a String. | |
partial CesiumPropertyArray | GetArray (Int64 featureID) |
Attempts to retrieve the value for the given feature as a CesiumPropertyArray. | |
partial CesiumMetadataValue | GetValue (Int64 featureID) |
Retrieves the value of the property for the given feature as a CesiumMetadataValue. | |
partial CesiumMetadataValue | GetRawValue (Int64 featureID) |
Retrieves the raw value of the property for the given feature. | |
Properties | |
CesiumPropertyTablePropertyStatus | status [get, set] |
The status of the property table property. | |
CesiumMetadataValueType | valueType [get, set] |
The type of the metadata value as defined in the EXT_structural_metadata extension. | |
Int64 | size [get, set] |
The number of values in the property. | |
Int64 | arraySize [get, set] |
The number of elements in an array of this property. | |
bool | isNormalized [get, set] |
Whether this property is normalized. | |
CesiumMetadataValue | offset [get, set] |
The offset of this property. | |
CesiumMetadataValue | scale [get, set] |
The scale of this property. | |
CesiumMetadataValue | min [get, set] |
The minimum value of this property. | |
CesiumMetadataValue | max [get, set] |
The maximum value of this property. | |
CesiumMetadataValue | noData [get, set] |
The "no data" value of this property, as defined by its class property. | |
CesiumMetadataValue | defaultValue [get, set] |
The default value of this property, as defined by its class property. | |
Represents a glTF property table property in EXT_structural_metadata.
A property has a specific type, such as int64 scalar or string, and values of that type that can be accessed with primitive feature IDs from EXT_mesh_features.
Definition at line 39 of file CesiumPropertyTableProperty.cs.
partial CesiumPropertyArray CesiumForUnity.CesiumPropertyTableProperty.GetArray | ( | Int64 | featureID | ) |
Attempts to retrieve the value for the given feature as a CesiumPropertyArray.
If the property is not an array type, this returns an empty array.
For numeric array properties, the raw array value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
featureID | The ID of the feature. |
partial Boolean CesiumForUnity.CesiumPropertyTableProperty.GetBoolean | ( | Int64 | featureID, |
Boolean | defaultValue = false ) |
Attempts to retrieve the value for the given feature as a boolean.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
All other types return the user-defined default value. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial Byte CesiumForUnity.CesiumPropertyTableProperty.GetByte | ( | Int64 | featureID, |
Byte | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as an unsigned 8-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial double CesiumForUnity.CesiumPropertyTableProperty.GetDouble | ( | Int64 | featureID, |
double | defaultValue = 0.0 ) |
Attempts to retrieve the value for the given feature as a double-precision floating-point number.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial double2 CesiumForUnity.CesiumPropertyTableProperty.GetDouble2 | ( | Int64 | featureID, |
double2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a double2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial double2x2 CesiumForUnity.CesiumPropertyTableProperty.GetDouble2x2 | ( | Int64 | featureID, |
double2x2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a double2x2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial double3 CesiumForUnity.CesiumPropertyTableProperty.GetDouble3 | ( | Int64 | featureID, |
double3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a double3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial double3x3 CesiumForUnity.CesiumPropertyTableProperty.GetDouble3x3 | ( | Int64 | featureID, |
double3x3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a double3x3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial double4 CesiumForUnity.CesiumPropertyTableProperty.GetDouble4 | ( | Int64 | featureID, |
double4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a double4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial double4x4 CesiumForUnity.CesiumPropertyTableProperty.GetDouble4x4 | ( | Int64 | featureID, |
double4x4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a double4x4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial float CesiumForUnity.CesiumPropertyTableProperty.GetFloat | ( | Int64 | featureID, |
float | defaultValue = 0.0f ) |
Attempts to retrieve the value for the given feature as a single-precision floating-point number.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial float2 CesiumForUnity.CesiumPropertyTableProperty.GetFloat2 | ( | Int64 | featureID, |
float2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a float2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a single-precision floating point number, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial float2x2 CesiumForUnity.CesiumPropertyTableProperty.GetFloat2x2 | ( | Int64 | featureID, |
float2x2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a float2x2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a single-precision floating-point number, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial float3 CesiumForUnity.CesiumPropertyTableProperty.GetFloat3 | ( | Int64 | featureID, |
float3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a float3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a single-precision floating point number, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial float3x3 CesiumForUnity.CesiumPropertyTableProperty.GetFloat3x3 | ( | Int64 | featureID, |
float3x3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a float3x3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a single-precision floating-point number, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial float4 CesiumForUnity.CesiumPropertyTableProperty.GetFloat4 | ( | Int64 | featureID, |
float4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a float4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a single-precision floating point number, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial float4x4 CesiumForUnity.CesiumPropertyTableProperty.GetFloat4x4 | ( | Int64 | featureID, |
float4x4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a float4x4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a single-precision floating-point number, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial Int16 CesiumForUnity.CesiumPropertyTableProperty.GetInt16 | ( | Int64 | featureID, |
Int16 | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as a signed 16-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial int2 CesiumForUnity.CesiumPropertyTableProperty.GetInt2 | ( | Int64 | featureID, |
int2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a int2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a 32-bit signed integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial int2x2 CesiumForUnity.CesiumPropertyTableProperty.GetInt2x2 | ( | Int64 | featureID, |
int2x2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a int2x2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a 32-bit signed integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial int3 CesiumForUnity.CesiumPropertyTableProperty.GetInt3 | ( | Int64 | featureID, |
int3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a int3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a 32-bit signed integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial Int32 CesiumForUnity.CesiumPropertyTableProperty.GetInt32 | ( | Int64 | featureID, |
Int32 | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as a signed 32-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial int3x3 CesiumForUnity.CesiumPropertyTableProperty.GetInt3x3 | ( | Int64 | featureID, |
int3x3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a int3x3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a 32-bit signed integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial int4 CesiumForUnity.CesiumPropertyTableProperty.GetInt4 | ( | Int64 | featureID, |
int4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a int4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a 32-bit signed integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial int4x4 CesiumForUnity.CesiumPropertyTableProperty.GetInt4x4 | ( | Int64 | featureID, |
int4x4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a int4x4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a 32-bit signed integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial Int64 CesiumForUnity.CesiumPropertyTableProperty.GetInt64 | ( | Int64 | featureID, |
Int64 | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as a signed 64-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial CesiumMetadataValue CesiumForUnity.CesiumPropertyTableProperty.GetRawValue | ( | Int64 | featureID | ) |
Retrieves the raw value of the property for the given feature.
This is the value of the property without normalization, offset, or scale applied.
If this property specifies a "no data" value, and the raw value is equal to this "no data" value, the value is returned as-is.
If this property is an empty property with a specified default value, it will not have any raw data to retrieve. The returned value will be empty.
featureID | The ID of the feature. |
partial SByte CesiumForUnity.CesiumPropertyTableProperty.GetSByte | ( | Int64 | featureID, |
SByte | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as a signed 8-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial String CesiumForUnity.CesiumPropertyTableProperty.GetString | ( | Int64 | featureID, |
String | defaultValue = "" ) |
Attempts to retrieve the value for the given feature as a String.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
std::to_string
.If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial UInt16 CesiumForUnity.CesiumPropertyTableProperty.GetUInt16 | ( | Int64 | featureID, |
UInt16 | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as an unsigned 16-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial uint2 CesiumForUnity.CesiumPropertyTableProperty.GetUInt2 | ( | Int64 | featureID, |
uint2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a uint2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a 32-bit unsigned integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial uint2x2 CesiumForUnity.CesiumPropertyTableProperty.GetUInt2x2 | ( | Int64 | featureID, |
uint2x2 | defaultValue ) |
Attempts to retrieve the value for the given feature as a uint2x2.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a 32-bit unsigned integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial uint3 CesiumForUnity.CesiumPropertyTableProperty.GetUInt3 | ( | Int64 | featureID, |
uint3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a uint3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a 32-bit unsigned integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial UInt32 CesiumForUnity.CesiumPropertyTableProperty.GetUInt32 | ( | Int64 | featureID, |
UInt32 | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as an unsigned 32-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial uint3x3 CesiumForUnity.CesiumPropertyTableProperty.GetUInt3x3 | ( | Int64 | featureID, |
uint3x3 | defaultValue ) |
Attempts to retrieve the value for the given feature as a uint3x3.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a 32-bit unsigned integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial uint4 CesiumForUnity.CesiumPropertyTableProperty.GetUInt4 | ( | Int64 | featureID, |
uint4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a uint4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all vector cases, if any of the relevant components cannot be represented as a 32-bit unsigned integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial uint4x4 CesiumForUnity.CesiumPropertyTableProperty.GetUInt4x4 | ( | Int64 | featureID, |
uint4x4 | defaultValue ) |
Attempts to retrieve the value for the given feature as a uint4x4.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. In all matrix cases, if any of the relevant components cannot be represented as a 32-bit unsigned integer, the default value is returned.
If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial UInt64 CesiumForUnity.CesiumPropertyTableProperty.GetUInt64 | ( | Int64 | featureID, |
UInt64 | defaultValue = 0 ) |
Attempts to retrieve the value for the given feature as an unsigned 64-bit integer.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is further converted. If the raw value is equal to the property's "no data" value, then the property's default value will be converted if possible. If the property-defined default value cannot be converted, or does not exist, then the user-defined default value is returned.
Property values are converted as follows:
In all other cases, the user-defined default value is returned. If the feature ID is out-of-range, or if the property table property is somehow invalid, the user-defined default value is returned.
featureID | The ID of the feature. |
defaultValue | The default value to fall back on. |
partial CesiumMetadataValue CesiumForUnity.CesiumPropertyTableProperty.GetValue | ( | Int64 | featureID | ) |
Retrieves the value of the property for the given feature as a CesiumMetadataValue.
This allows the value to be acted on more generically; its true value can be retrieved later as a specific Blueprints type.
For numeric properties, the raw value for a given feature will be transformed by the property's normalization, scale, and offset before it is returned. If the raw value is equal to the property's "no data" value, an empty value will be returned. However, if the property itself specifies a default value, then the property-defined default value will be returned.
featureID | The ID of the feature. |
|
getset |
The number of elements in an array of this property.
Only applicable when the property is a fixed-length array type.
Definition at line 74 of file CesiumPropertyTableProperty.cs.
|
getset |
The default value of this property, as defined by its class property.
This default value is used when encountering a "no data" value in the property.
If a default value is not defined, this returns an empty value.
Definition at line 171 of file CesiumPropertyTableProperty.cs.
|
getset |
Whether this property is normalized.
Only applicable when this property has an integer component type.
Definition at line 83 of file CesiumPropertyTableProperty.cs.
|
getset |
The maximum value of this property.
This can be defined by the class property that it implements, or overridden by the instance of the property itself.
This is only applicable to scalar, vecN and matN properties. It represents the component-wise maximum of all property values with normalization, offset, and scale applied. If a maximum value is not defined or applicable, this returns an empty value.
Definition at line 143 of file CesiumPropertyTableProperty.cs.
|
getset |
The minimum value of this property.
This can be defined by the class property that it implements, or overridden by the instance of the property itself.
This is only applicable to scalar, vecN and matN properties. It represents the component-wise minimum of all property values with normalization, offset, and scale applied. If a minimum value is not defined or applicable, this returns an empty value.
Definition at line 127 of file CesiumPropertyTableProperty.cs.
|
getset |
The "no data" value of this property, as defined by its class property.
This value functions a sentinel value, indicating missing data wherever it appears. The value is compared against the property's raw data, without normalization, offset, or scale applied.
This is not applicable to boolean properties. If a "no data" value is not defined or applicable, this returns an empty value.
Definition at line 158 of file CesiumPropertyTableProperty.cs.
|
getset |
The offset of this property.
This can be defined by the class property that it implements, or overridden by the instance of the property itself.
This is only applicable to properties with floating-point or normalized integer component types. If an offset is not defined or applicable, this returns an empty value.
Definition at line 97 of file CesiumPropertyTableProperty.cs.
|
getset |
The scale of this property.
This can be defined by the class property that it implements, or overridden by the instance of the property itself.
This is only applicable to properties with floating-point or normalized integer component types. If a scale is not defined or applicable, this returns an empty value.
Definition at line 111 of file CesiumPropertyTableProperty.cs.
|
getset |
The number of values in the property.
Definition at line 65 of file CesiumPropertyTableProperty.cs.
|
getset |
The status of the property table property.
If this property table property is invalid in any way, this will briefly indicate why.
Definition at line 47 of file CesiumPropertyTableProperty.cs.
|
getset |
The type of the metadata value as defined in the EXT_structural_metadata extension.
Some of these types are not accessible from Unity, but can be converted to a close-fitting type.
Definition at line 57 of file CesiumPropertyTableProperty.cs.