Package com.anylogic.engine
- 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
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
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 |
---|
getAgent, next_xjal, onDestroy, onExtensionRemoved, priority, setNext_xjal, supportsInterface_xjal
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)
@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()
-
How can we improve this article?
-