- All Superinterfaces:
AgentExtension,Serializable
- All Known Subinterfaces:
ExtAgentContinuous,ExtAgentDiscrete,ExtAgentGIS,ExtAgentWithSpatialMetrics,ExtEntity
- All Known Implementing Classes:
ExtAgentContinuousDelegate,ExtAgentWithSpatialMetricsDelegate,ExtEntityContinuousDelegate,ExtEntityDelegate
@AnyLogicInternalAPI public interface ExtAnimationParams extends AgentExtension
| Modifier and Type | Method | Description |
|---|---|---|
Position | getAnimationPosition |
...
|
double | getAnimationX() | |
double | getAnimationY() | |
double | getAnimationZ() | |
double | getPresentationScaleOnOwnerSpace() |
Returns the scale of the agent presentation animation
on its space or
1.0 if space isn't defined
or agent list is empty |
Agent | getSpace() |
Returns the agent representing space this agent lives in
|
boolean | isAnimationVisible_xjal() | |
void | setSpace |
Sets the space for agent.
|
void setSpace(Agent space)
Sets the space for agent. Shouldn't be called for moving agents.
Coordinates and rotations are left "as is"
- Parameters:
space- the agent representing space this agent will live in
Agent getSpace()
Returns the agent representing space this agent lives in
- Returns:
- the agent representing space this agent lives in
double getAnimationX()
double getAnimationY()
double getAnimationZ()
Position getAnimationPosition(Position out)
... In case of GIS space this method is equal to
Agent.getPosition(Position)@AnyLogicInternalCodegenAPI double getPresentationScaleOnOwnerSpace()
Returns the scale of the agent presentation animation
on its space or
1.0 if space isn't defined
or agent list is empty- Returns:
- the scale of presentation animation on owner space
@AnyLogicInternalAPI boolean isAnimationVisible_xjal()