ModelVisualizerTEntity Class |
Namespace: AGI.Foundation.Tracking
public class ModelVisualizer<TEntity> : EntityVisualizer<TEntity> where TEntity : class, IEntityIdentifier, IEntityPosition, IEntityOrientation
The ModelVisualizerTEntity type exposes the following members.
Name | Description | |
---|---|---|
![]() | ModelVisualizerTEntity | Initializes a new instance. |
![]() | ModelVisualizerTEntity(EntitySetTEntity, ModelCallbackTEntity) |
Creates a new instance with the provided EntitySetTEntity and ModelCallbackTEntity.
|
Name | Description | |
---|---|---|
![]() | Callback |
Gets or sets the ModelCallbackTEntity used to retrieve a model for each entity.
|
![]() | Color |
Gets or sets the color.
(Overrides EntityVisualizerTEntityColor.) |
![]() | Display |
Gets or sets a value indicating whether the entities are displayed.
(Overrides EntityVisualizerTEntityDisplay.) |
![]() | DisplayCondition |
Gets or sets the DisplayCondition.
(Overrides EntityVisualizerTEntityDisplayCondition.) |
![]() | Entities |
Gets or sets the entities being visualized.
(Overrides EntityVisualizerTEntityEntities.) |
![]() | Scale |
Gets or sets the scale of the models, with 1 being actual size.
|
![]() | Translucency |
Gets or sets the translucency. Translucency is not supported for models, so this property always returns 0 and cannot be set.
(Overrides EntityVisualizerTEntityTranslucency.) |
Name | Description | |
---|---|---|
![]() | Dispose |
Releases any resources associated with this instance.
(Inherited from EntityVisualizerTEntity.) |
![]() | Dispose(Boolean) |
Releases any resources associated with this instance.
(Overrides EntityVisualizerTEntityDispose(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 EntityVisualizerTEntityPick(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 EntityVisualizerTEntity.) |
![]() | PickTPrimitive(PickResult, IEnumerableTPrimitive) |
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 EntityVisualizerTEntity.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Updates the underlying primitives to reflect the latest entity state.
(Overrides EntityVisualizerTEntityUpdate(Transaction).) |