Cesium for Unity 1.15.2
Loading...
Searching...
No Matches
CesiumForUnity.CesiumFeature Class Reference

Allows access to a particular feature of CesiumMetadata. More...

Public Member Functions

partial sbyte GetInt8 (string property, sbyte defaultValue)
 Gets the value of the specified property as a signed byte.
 
partial byte GetUInt8 (string property, byte defaultValue)
 Gets the value of the specified property as a byte.
 
partial Int16 GetInt16 (string property, Int16 defaultValue)
 Gets the value of the specified property as a signed 16-bit integer.
 
partial UInt16 GetUInt16 (string property, UInt16 defaultValue)
 Gets the value of the specified property as an unsigned 16-bit integer.
 
partial Int32 GetInt32 (string property, Int32 defaultValue)
 Gets the value of the specified property as a signed 32-bit integer.
 
partial UInt32 GetUInt32 (string property, UInt32 defaultValue)
 Gets the value of the specified property as an unsigned 32-bit integer.
 
partial Int64 GetInt64 (string property, Int64 defaultValue)
 Gets the value of the specified property as a signed 64-bit integer.
 
partial UInt64 GetUInt64 (string property, UInt64 defaultValue)
 Gets the value of the specified property as an unsigned 64-bit integer.
 
partial float GetFloat32 (string property, float defaultValue)
 Gets the value of the specified property as a 32-bit floating-point number.
 
partial double GetFloat64 (string property, double defaultValue)
 Gets the value of the specified property as a 64-bit floating-point number.
 
partial Boolean GetBoolean (string property, Boolean defaultValue)
 Gets the value of the specified property as a boolean value.
 
partial String GetString (string property, String defaultValue)
 Gets the value of the specified property as a string.
 
partial sbyte GetComponentInt8 (string property, int index, sbyte defaultValue)
 Gets the value of the specified property from an array as a signed byte.
 
partial byte GetComponentUInt8 (string property, int index, byte defaultValue)
 Gets the value of the specified property from an array as a byte.
 
partial Int16 GetComponentInt16 (string property, int index, Int16 defaultValue)
 Gets the value of the specified property from an array as a signed 16-bit integer.
 
partial UInt16 GetComponentUInt16 (string property, int index, UInt16 defaultValue)
 Gets the value of the specified property from an array as an unsigned 16-bit integer.
 
partial Int32 GetComponentInt32 (string property, int index, Int32 defaultValue)
 Gets the value of the specified property from an array as a signed 32-bit integer.
 
partial UInt32 GetComponentUInt32 (string property, int index, UInt32 defaultValue)
 Gets the value of the specified property from an array as an unsigned 32-bit integer.
 
partial Int64 GetComponentInt64 (string property, int index, Int64 defaultValue)
 Gets the value of the specified property from an array as a signed 64-bit integer.
 
partial UInt64 GetComponentUInt64 (string property, int index, UInt64 defaultValue)
 Gets the value of the specified property from an array as an unsigned 64-bit integer.
 
partial float GetComponentFloat32 (string property, int index, float defaultValue)
 Gets the value of the specified property from an array as a 32-bit floating-point number.
 
partial double GetComponentFloat64 (string property, int index, double defaultValue)
 Gets the value of the specified property property from an array as a 64-bit floating-point number.
 
partial Boolean GetComponentBoolean (string property, int index, Boolean defaultValue)
 Gets the value of the specified property property from an array as a boolean value.
 
partial String GetComponentString (string property, int index, String defaultValue)
 Gets the value of the specified property from an array as a string.
 
partial int GetComponentCount (string property)
 Gets the number of components in the array.
 
partial MetadataType GetComponentType (string property)
 Gets the type of component array.
 
partial MetadataType GetMetadataType (string property)
 Gets the type of the specified property.
 
partial bool IsNormalized (string property)
 Determines if the specified property's value is normalized.
 

Properties

string className [get, set]
 The name of the class that this CesiumFeature conforms to.
 
string featureTableName [get, set]
 The name of the feature table containing the values of this CesiumFeature's properties.
 
string[] properties [get, set]
 The names of the properties that exist in this CesiumFeature.
 

Detailed Description

Allows access to a particular feature of CesiumMetadata.

Definition at line 33 of file CesiumFeature.cs.

Member Function Documentation

◆ GetBoolean()

partial Boolean CesiumForUnity.CesiumFeature.GetBoolean ( string property,
Boolean defaultValue )

Gets the value of the specified property as a boolean value.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetComponentBoolean()

partial Boolean CesiumForUnity.CesiumFeature.GetComponentBoolean ( string property,
int index,
Boolean defaultValue )

Gets the value of the specified property property from an array as a boolean value.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentCount()

partial int CesiumForUnity.CesiumFeature.GetComponentCount ( string property)

Gets the number of components in the array.

Parameters
propertyThe name of the property.

◆ GetComponentFloat32()

partial float CesiumForUnity.CesiumFeature.GetComponentFloat32 ( string property,
int index,
float defaultValue )

Gets the value of the specified property from an array as a 32-bit floating-point number.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentFloat64()

partial double CesiumForUnity.CesiumFeature.GetComponentFloat64 ( string property,
int index,
double defaultValue )

Gets the value of the specified property property from an array as a 64-bit floating-point number.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentInt16()

partial Int16 CesiumForUnity.CesiumFeature.GetComponentInt16 ( string property,
int index,
Int16 defaultValue )

Gets the value of the specified property from an array as a signed 16-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentInt32()

partial Int32 CesiumForUnity.CesiumFeature.GetComponentInt32 ( string property,
int index,
Int32 defaultValue )

Gets the value of the specified property from an array as a signed 32-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentInt64()

partial Int64 CesiumForUnity.CesiumFeature.GetComponentInt64 ( string property,
int index,
Int64 defaultValue )

Gets the value of the specified property from an array as a signed 64-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentInt8()

partial sbyte CesiumForUnity.CesiumFeature.GetComponentInt8 ( string property,
int index,
sbyte defaultValue )

Gets the value of the specified property from an array as a signed byte.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentString()

partial String CesiumForUnity.CesiumFeature.GetComponentString ( string property,
int index,
String defaultValue )

Gets the value of the specified property from an array as a string.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentType()

partial MetadataType CesiumForUnity.CesiumFeature.GetComponentType ( string property)

Gets the type of component array.

Parameters
propertyThe name of the property.

◆ GetComponentUInt16()

partial UInt16 CesiumForUnity.CesiumFeature.GetComponentUInt16 ( string property,
int index,
UInt16 defaultValue )

Gets the value of the specified property from an array as an unsigned 16-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentUInt32()

partial UInt32 CesiumForUnity.CesiumFeature.GetComponentUInt32 ( string property,
int index,
UInt32 defaultValue )

Gets the value of the specified property from an array as an unsigned 32-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentUInt64()

partial UInt64 CesiumForUnity.CesiumFeature.GetComponentUInt64 ( string property,
int index,
UInt64 defaultValue )

Gets the value of the specified property from an array as an unsigned 64-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetComponentUInt8()

partial byte CesiumForUnity.CesiumFeature.GetComponentUInt8 ( string property,
int index,
byte defaultValue )

Gets the value of the specified property from an array as a byte.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
indexThe index of the component.
defaultValueThe default value.

◆ GetFloat32()

partial float CesiumForUnity.CesiumFeature.GetFloat32 ( string property,
float defaultValue )

Gets the value of the specified property as a 32-bit floating-point number.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetFloat64()

partial double CesiumForUnity.CesiumFeature.GetFloat64 ( string property,
double defaultValue )

Gets the value of the specified property as a 64-bit floating-point number.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetInt16()

partial Int16 CesiumForUnity.CesiumFeature.GetInt16 ( string property,
Int16 defaultValue )

Gets the value of the specified property as a signed 16-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetInt32()

partial Int32 CesiumForUnity.CesiumFeature.GetInt32 ( string property,
Int32 defaultValue )

Gets the value of the specified property as a signed 32-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetInt64()

partial Int64 CesiumForUnity.CesiumFeature.GetInt64 ( string property,
Int64 defaultValue )

Gets the value of the specified property as a signed 64-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetInt8()

partial sbyte CesiumForUnity.CesiumFeature.GetInt8 ( string property,
sbyte defaultValue )

Gets the value of the specified property as a signed byte.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetMetadataType()

partial MetadataType CesiumForUnity.CesiumFeature.GetMetadataType ( string property)

Gets the type of the specified property.

Parameters
propertyThe name of the property.

◆ GetString()

partial String CesiumForUnity.CesiumFeature.GetString ( string property,
String defaultValue )

Gets the value of the specified property as a string.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetUInt16()

partial UInt16 CesiumForUnity.CesiumFeature.GetUInt16 ( string property,
UInt16 defaultValue )

Gets the value of the specified property as an unsigned 16-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetUInt32()

partial UInt32 CesiumForUnity.CesiumFeature.GetUInt32 ( string property,
UInt32 defaultValue )

Gets the value of the specified property as an unsigned 32-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetUInt64()

partial UInt64 CesiumForUnity.CesiumFeature.GetUInt64 ( string property,
UInt64 defaultValue )

Gets the value of the specified property as an unsigned 64-bit integer.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ GetUInt8()

partial byte CesiumForUnity.CesiumFeature.GetUInt8 ( string property,
byte defaultValue )

Gets the value of the specified property as a byte.

Returns the default value if the property value cannot be converted to that type.

Parameters
propertyThe name of the property.
defaultValueThe default value.

◆ IsNormalized()

partial bool CesiumForUnity.CesiumFeature.IsNormalized ( string property)

Determines if the specified property's value is normalized.

Parameters
propertyThe name of the property.

Property Documentation

◆ className

string CesiumForUnity.CesiumFeature.className
getset

The name of the class that this CesiumFeature conforms to.

Definition at line 38 of file CesiumFeature.cs.

◆ featureTableName

string CesiumForUnity.CesiumFeature.featureTableName
getset

The name of the feature table containing the values of this CesiumFeature's properties.

Definition at line 43 of file CesiumFeature.cs.

◆ properties

string [] CesiumForUnity.CesiumFeature.properties
getset

The names of the properties that exist in this CesiumFeature.

Definition at line 48 of file CesiumFeature.cs.


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