3using Unity.Mathematics;
38 [ReinteropNativeImplementation(
"CesiumForUnityNative::CesiumPropertyTablePropertyImpl",
"CesiumPropertyTablePropertyImpl.h")]
183 this.isNormalized =
false;
191 this.CreateImplementation();
194 #region Public Methods
232 #region Scalar Getters
622 #region Vector Getters
1130 #region Matrix Getters
Represents an array value from a property in glTF metadata.
Represents a glTF property table property in EXT_structural_metadata.
partial CesiumPropertyArray GetArray(Int64 featureID)
Attempts to retrieve the value for the given feature as a CesiumPropertyArray.
CesiumMetadataValue defaultValue
The default value of this property, as defined by its class property.
partial int2x2 GetInt2x2(Int64 featureID, int2x2 defaultValue)
Attempts to retrieve the value for the given feature as a int2x2.
partial float3 GetFloat3(Int64 featureID, float3 defaultValue)
Attempts to retrieve the value for the given feature as a float3.
partial CesiumMetadataValue GetValue(Int64 featureID)
Retrieves the value of the property for the given feature as a CesiumMetadataValue.
CesiumMetadataValue min
The minimum value of this property.
partial Int64 GetInt64(Int64 featureID, Int64 defaultValue=0)
Attempts to retrieve the value for the given feature as a signed 64-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 double3x3 GetDouble3x3(Int64 featureID, double3x3 defaultValue)
Attempts to retrieve the value for the given feature as a double3x3.
CesiumMetadataValue scale
The scale of this property.
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 CesiumMetadataValue GetRawValue(Int64 featureID)
Retrieves the raw value of the property for the given feature.
CesiumMetadataValueType valueType
The type of the metadata value as defined in the EXT_structural_metadata extension.
partial uint4 GetUInt4(Int64 featureID, uint4 defaultValue)
Attempts to retrieve the value for the given feature as a uint4.
partial int3 GetInt3(Int64 featureID, int3 defaultValue)
Attempts to retrieve the value for the given feature as a int3.
Int64 arraySize
The number of elements in an array of this property.
partial Boolean GetBoolean(Int64 featureID, Boolean defaultValue=false)
Attempts to retrieve the value for the given feature as a boolean.
partial float4x4 GetFloat4x4(Int64 featureID, float4x4 defaultValue)
Attempts to retrieve the value for the given feature as a float4x4.
partial float4 GetFloat4(Int64 featureID, float4 defaultValue)
Attempts to retrieve the value for the given feature as a float4.
partial uint3x3 GetUInt3x3(Int64 featureID, uint3x3 defaultValue)
Attempts to retrieve the value for the given feature as a uint3x3.
partial float2x2 GetFloat2x2(Int64 featureID, float2x2 defaultValue)
Attempts to retrieve the value for the given feature as a float2x2.
partial uint2 GetUInt2(Int64 featureID, uint2 defaultValue)
Attempts to retrieve the value for the given feature as a uint2.
partial int4x4 GetInt4x4(Int64 featureID, int4x4 defaultValue)
Attempts to retrieve the value for the given feature as a int4x4.
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 int3x3 GetInt3x3(Int64 featureID, int3x3 defaultValue)
Attempts to retrieve the value for the given feature as a int3x3.
partial float2 GetFloat2(Int64 featureID, float2 defaultValue)
Attempts to retrieve the value for the given feature as a float2.
partial double4 GetDouble4(Int64 featureID, double4 defaultValue)
Attempts to retrieve the value for the given feature as a double4.
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 Int16 GetInt16(Int64 featureID, Int16 defaultValue=0)
Attempts to retrieve the value for the given feature as a signed 16-bit integer.
Int64 size
The number of values in the property.
partial int2 GetInt2(Int64 featureID, int2 defaultValue)
Attempts to retrieve the value for the given feature as a int2.
partial float3x3 GetFloat3x3(Int64 featureID, float3x3 defaultValue)
Attempts to retrieve the value for the given feature as a float3x3.
bool isNormalized
Whether this property is normalized.
CesiumMetadataValue noData
The "no data" value of this property, as defined by its class property.
CesiumMetadataValue offset
The offset of this property.
partial double2 GetDouble2(Int64 featureID, double2 defaultValue)
Attempts to retrieve the value for the given feature as a double2.
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.
CesiumPropertyTablePropertyStatus status
The status of the property table property.
partial uint2x2 GetUInt2x2(Int64 featureID, uint2x2 defaultValue)
Attempts to retrieve the value for the given feature as a uint2x2.
partial uint4x4 GetUInt4x4(Int64 featureID, uint4x4 defaultValue)
Attempts to retrieve the value for the given feature as a uint4x4.
partial Byte GetByte(Int64 featureID, Byte defaultValue=0)
Attempts to retrieve the value for the given feature as an unsigned 8-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 SByte GetSByte(Int64 featureID, SByte defaultValue=0)
Attempts to retrieve the value for the given feature as a signed 8-bit integer.
partial String GetString(Int64 featureID, String defaultValue="")
Attempts to retrieve the value for the given feature as a String.
CesiumMetadataValue max
The maximum value of this property.
partial uint3 GetUInt3(Int64 featureID, uint3 defaultValue)
Attempts to retrieve the value for the given feature as a uint3.
partial double2x2 GetDouble2x2(Int64 featureID, double2x2 defaultValue)
Attempts to retrieve the value for the given feature as a double2x2.
partial double4x4 GetDouble4x4(Int64 featureID, double4x4 defaultValue)
Attempts to retrieve the value for the given feature as a double4x4.
CesiumMetadataType
Identifies the type of a property in EXT_structural_metadata.
@ Valid
The feature ID attribute is valid.
CesiumMetadataComponentType
Identifies the component type of a property in EXT_structural_metadata.
CesiumPropertyTablePropertyStatus
Reports the status of a CesiumPropertyTableProperty.
@ EmptyPropertyWithDefault
The property table property is empty but has a specified default value.
@ ErrorInvalidProperty
The property table property does not exist in the glTF, or the property definition itself contains er...
@ ErrorInvalidPropertyData
The data associated with the property table property is malformed and cannot be retrieved.