Click or drag to resize

ModelCallbackTEntity Delegate

Returns the model for the specified entity. A single unique instance of ModelPrimitive should be returned for each given entity.

Namespace:  AGI.Foundation.Tracking
Assembly:  AGI.Foundation.Tracking.Graphics (in AGI.Foundation.Tracking.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public delegate ModelPrimitive ModelCallback<TEntity>(
	Transaction transaction,
	TEntity entity
)

Parameters

transaction
Type: AGI.FoundationTransaction
The transaction to use.
entity
Type: TEntity
The entity for which to retrieve a model.

Type Parameters

TEntity
The type of entity.

Return Value

Type: ModelPrimitive
The model to use to represent the entity.
See Also