MarkerCallbackTEntity Delegate |
Returns a texture to be used as a marker for the specified entity.
The same texture instance can be used to represent multiple entities.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking.Graphics (in AGI.Foundation.Tracking.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public delegate Texture2D MarkerCallback<TEntity>(
Transaction transaction,
TEntity entity
)
Public Delegate Function MarkerCallback(Of TEntity) (
transaction As Transaction,
entity As TEntity
) As Texture2D
generic<typename TEntity>
public delegate Texture2D^ MarkerCallback(
Transaction^ transaction,
TEntity entity
)
type MarkerCallback =
delegate of
transaction : Transaction *
entity : 'TEntity -> Texture2D
Parameters
- transaction
- Type: AGI.FoundationTransaction
The transaction to use. - entity
- Type: TEntity
The entity for which to retrieve a marker.
Type Parameters
- TEntity
- The type of entity.
Return Value
Type:
Texture2DThe texture to use to represent the entity.
See Also