AnyLogic AnyLogic
Expand
Font size
All Superinterfaces:
AgentExtension, java.io.Serializable
All Known Subinterfaces:
ExtAgentContinuous, ExtAgentDiscrete, ExtAgentGIS, ExtAgentWithSpatialMetrics, ExtEntity
All Known Implementing Classes:
ExtAgentContinuousDelegate, ExtAgentWithSpatialMetricsDelegate, ExtEntityContinuousDelegate, ExtEntityDelegate

@AnyLogicInternalAPI
public interface ExtAnimationParams
extends AgentExtension

Field Summary

Fields inherited from interface com.anylogic.engine.AgentExtension

P_AGENT_INTERACTIVE_DELEGATE, P_AGENT_WITH_SPATIAL_METRICS_DELEGATE, P_AGENT_WITH_SPECIFIC_SPACE, P_AGENT_WITH_SPECIFIC_SPACE_DELEGATE, P_ENTITY_DELEGATE, P_ENV_WITH_SPECIFIC_SPACE, P_ROOT, P_SPACE, P_USER_EXT

Method Summary

All Methods Instance Methods Abstract Methods 
Position getAnimationPosition​(Position out)  
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​(Agent space)
Sets the space for agent.
Modifier and Type Method Description

Methods inherited from interface com.anylogic.engine.AgentExtension

getAgent, next_xjal, onDestroy, onExtensionRemoved, priority, setNext_xjal, supportsInterface_xjal

Method Detail

setSpace

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

getSpace

Agent getSpace()
Returns the agent representing space this agent lives in
Returns:
the agent representing space this agent lives in

getAnimationX

double getAnimationX()

getAnimationY

double getAnimationY()

getAnimationZ

double getAnimationZ()

getAnimationPosition

Position getAnimationPosition​(Position out)

getPresentationScaleOnOwnerSpace

@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

isAnimationVisible_xjal

@AnyLogicInternalAPI
boolean isAnimationVisible_xjal()
How can we improve this article?