- java.lang.Object
- com.anylogic.engine.omniverse_connector.AbstractInstancingUsdRepresentation<A>
- com.anylogic.engine.omniverse_connector.CollectionUsdRepresentation<C>
- com.anylogic.engine.omniverse_connector.PopulationUsdRepresentation<C>
- Type Parameters:
C
- agent class
- All Implemented Interfaces:
InstancingUsdRepresentation<C>
,UsdRepresentation<C>
public class PopulationUsdRepresentation<C extends Agent> extends CollectionUsdRepresentation<C>
Associates a population or collections of agents with USD prims
Constructor | Description |
---|---|
PopulationUsdRepresentation | |
PopulationUsdRepresentation | |
PopulationUsdRepresentation |
Modifier and Type | Method | Description |
---|---|---|
void | addPositionTransformator |
Sets the position transformation function that will be applied to the positions of the agent before applying to the connected USD prim.
|
void | addVisibilityListener |
Add default attribute updaters for visibility attribute
|
void | setBasis |
addAttrUpdater, addAttrUpdater, addPositionUpdater, addPositionUpdater, addVariantUpdater, addVariantUpdater, fillFrame, generate
Methods inherited from class com.anylogic.engine.omniverse_connector.AbstractInstancingUsdRepresentation
disableCache, getAssetPaths, getCacheSize, getContainerPath, getObject, isInstanceable, setCacheSize, setInstanceable
public PopulationUsdRepresentation(UsdContext context, C singleObject, String assetPath, String container)
public PopulationUsdRepresentation(UsdContext context, Iterable<C> population, List<String> assetPath, String containerPath)
public PopulationUsdRepresentation(UsdContext context, Iterable<C> population, String assetPath, String containerPath)
@AnyLogicInternalAPI public void setBasis(AbstractPositionWatcher.BasisType basis)
public void addVisibilityListener(Function<C, Shape> shapeProvider)
Add default attribute updaters for visibility attribute
public void 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