Click or drag to resize

CesiumCustomPropertiesAddCustomPropertyT Method

Add a custom property.

Namespace:  AGI.Foundation.Cesium
Assembly:  AGI.Foundation.Cesium (in AGI.Foundation.Cesium.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public void AddCustomProperty<T>(
	string propertyName,
	CesiumProperty<T> property
)

Parameters

propertyName
Type: SystemString
The name of the custom property. This must be unique.
property
Type: AGI.Foundation.Cesium.AdvancedCesiumPropertyT
The custom property.

Type Parameters

T
The type of the data.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when property is .
ArgumentException Thrown when T is not a supported type of custom CZML property.
See Also