MarkerVisualizer<TEntity> Class |
Namespace: AGI.Foundation.Tracking
public class MarkerVisualizer<TEntity> : EntityVisualizer<TEntity> where TEntity : class, IEntityIdentifier, IEntityPosition
The MarkerVisualizer<TEntity> type exposes the following members.
Name | Description | |
---|---|---|
![]() | MarkerVisualizer<TEntity>() | Initializes a new instance. |
![]() | MarkerVisualizer<TEntity>(EntitySet<TEntity>, MarkerCallback<TEntity>) |
Creates a new instance with the provided EntitySet<TEntity> and MarkerCallback<TEntity>.
|
![]() | MarkerVisualizer<TEntity>(EntitySet<TEntity>, MarkerCallback<TEntity>, SetHint) |
Name | Description | |
---|---|---|
![]() | Callback |
Gets or sets the MarkerCallback<TEntity> used to determine the marker.
|
![]() | Color |
Gets or sets the color.
(Overrides EntityVisualizer<TEntity>.Color.) |
![]() | Display |
Gets or sets a value indicating whether the entities are displayed.
(Overrides EntityVisualizer<TEntity>.Display.) |
![]() | DisplayCondition |
Gets or sets the DisplayCondition.
(Overrides EntityVisualizer<TEntity>.DisplayCondition.) |
![]() | Entities |
Gets or sets the entities being visualized.
(Overrides EntityVisualizer<TEntity>.Entities.) |
![]() | EyeOffset |
Gets or sets the eye offset of each marker from the position of the entity.
|
![]() | Origin |
Gets or sets the origin of each marker.
|
![]() | PixelOffset |
Gets or sets the pixel offset of each marker from the position of the entity.
|
![]() | SetHint |
Gets the SetHint of the underlying primitive.
|
![]() | Size |
Gets or sets the size of the markers in the unit defined by SizeUnit. Defaults to pixels.
|
![]() | SizeSource |
Gets or sets the size source.
|
![]() | SizeUnit |
Gets or sets the size unit.
|
![]() | Translucency |
Gets or sets the translucency. 0 is opaque and 1 is transparent.
(Overrides EntityVisualizer<TEntity>.Translucency.) |
Name | Description | |
---|---|---|
![]() | Dispose() |
Releases any resources associated with this instance.
(Inherited from EntityVisualizer<TEntity>.) |
![]() | Dispose(Boolean) |
Releases any resources associated with this instance.
(Overrides EntityVisualizer<TEntity>.Dispose(Boolean).) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Pick(PickResult) |
Given a PickResult, returns the entities that were picked.
(Overrides EntityVisualizer<TEntity>.Pick(PickResult).) |
![]() | Pick(PickResult, Primitive) |
Given a PickResult and Primitive,
returns a list of entities that were picked. This is best used
to respond to a pick involving a batch primitive.
(Inherited from EntityVisualizer<TEntity>.) |
![]() | Pick<TPrimitive>(PickResult, IEnumerable<TPrimitive>) |
Given a list of primitives and a PickResult, returns
the primitives that were picked. The primitives in the list are expected to
contain an entity in their Tag property.
(Inherited from EntityVisualizer<TEntity>.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Updates the underlying primitive to reflect the latest entity state.
(Overrides EntityVisualizer<TEntity>.Update(Transaction).) |