AnyLogic
Expand
Font size
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

Field Summary

Method Summary

Modifier and TypeMethodDescription
PositiongetAnimationPosition(Position out) 
doublegetAnimationX() 
doublegetAnimationY() 
doublegetAnimationZ() 
doublegetPresentationScaleOnOwnerSpace()
Returns the scale of the agent presentation animation on its space or 1.0 if space isn't defined or agent list is empty
AgentgetSpace()
Returns the agent representing space this agent lives in
booleanisAnimationVisible_xjal() 
voidsetSpace(Agent space)
Sets the space for agent.

Methods inherited from interface com.anylogic.engine.AgentExtension

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

Method Details

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()