- java.lang.Object
- com.anylogic.engine.omniverse_connector.AbstractUsdRepresentation<A>
- com.anylogic.engine.omniverse_connector.AgentUsdRepresentation<A>
- 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
Constructor | Description |
---|---|
AgentUsdRepresentation |
Modifier and Type | Method | Description |
---|---|---|
AgentUsdRepresentation<A> | addPositionTransformator |
Sets the position transformation function that will be applied to the positions of the agent before applying to the connected USD prim.
|
public AgentUsdRepresentation(UsdContext context, A agent, String usdOwnerPath)
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