AnyLogic
Expand
Font size
Type Parameters:
A - agent class
All Implemented Interfaces:
UsdRepresentation<A>

public class AgentUsdRepresentation<A extends Agent>
extends AbstractUsdRepresentation<A>
Associates a single agent with a prim

Field Summary

Fields inherited from class com.anylogic.engine.omniverse_connector.AbstractUsdRepresentation

USD_ATTR_VISIBILITY

Constructor Summary

ConstructorDescription
AgentUsdRepresentation(UsdContext context, A agent, String usdOwnerPath) 

Method Summary

Modifier and TypeMethodDescription
AgentUsdRepresentation<A>addPositionTransformator(Consumer<PositionAndScale> positionTransform)
Sets the position transformation function that will be applied to the positions of the agent before applying to the connected USD prim.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

AgentUsdRepresentation

public AgentUsdRepresentation(UsdContext context,
 A agent,
 String usdOwnerPath)

Method Details

addPositionTransformator

public AgentUsdRepresentation<A> addPositionTransformator(Consumer<PositionAndScale> positionTransform)
Sets the position transformation function that will be applied to the positions of the agent before applying to the connected USD prim.
Parameters:
positionTransform - The transformation function.
Returns:
Returns the reconfigured AgentUsdRepresentation object