Click or drag to resize

CesiumCustomProperties.AddCustomProperty<T> 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: System.String
The name of the custom property. This must be unique.
property
Type: AGI.Foundation.Cesium.Advanced.CesiumProperty<T>
The custom property.

Type Parameters

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