- Type Parameters:
T
- type of element of the model (an agent, a shape, and so on)
- All Known Subinterfaces:
InstancingUsdRepresentation<T>
- All Known Implementing Classes:
AbstractInstancingUsdRepresentation
,AbstractUsdRepresentation
,AgentUsdRepresentation
,BatchMarkupUsdRepresentation
,CameraUsdRepresentation
,CollectionUsdRepresentation
,ElevatorUsdRepresentation
,JibCraneUsdRepresentation
,LiftUsdRepresentation
,MarkupCollectionUsdRepresentation
,OverheadCraneUsdRepresentation
,PopulationUsdRepresentation
,PositionalMarkupCollectionUsdRepresentation
,PositionalMarkupUsdRepresentation
,Shape3DObjectCollectionUsdRepresentation
,ShapeCollectionUsdRepresentation
,ShapeUsdRepresentation
,UsdElementCollectionUsdRepresentation
public interface UsdRepresentation<T>
Base interface for object represents the connection between the AnyLogic element and its USD prim
Modifier and Type | Method | Description |
---|---|---|
void | addAttrUpdater |
Adds an attribute updater for a prim depending on the element state
|
void | addAttrUpdater |
Adds an attribute updater for a prim depending on the element state
|
void | addVariantUpdater |
Adds a variant updater (a set of alternative configurations) for a prim
|
void | addVariantUpdater |
Adds a variant updater (a set of alternative configurations) for a prim
|
void | fillFrame | |
Object | getObject() |
@AnyLogicInternalAPI void fillFrame(OmniFrame frame)
@AnyLogicInternalAPI Object getObject()
void addAttrUpdater(String name, Function<T, Object> valueProvider)
Adds an attribute updater for a prim depending on the element state
- Parameters:
name
- The name of the attribute of the USD object that needs to be changed.valueProvider
- The function that generates an attribute value being updated.
void addAttrUpdater(String pathInsidePrim, String attrName, Function<T, Object> valueProvider)
Adds an attribute updater for a prim depending on the element state
- Parameters:
pathInsidePrim
- A relative part to an embedded prim that needs to be changed.attrName
- The name of the attribute of the USD object that needs to be changed.valueProvider
- The function that generates an attribute value being updated.
void addVariantUpdater(String name, Function<T, Object> valueProvider)
Adds a variant updater (a set of alternative configurations) for a prim
- Parameters:
name
- The name of the variant set.valueProvider
- The function that generates the name of the USD prim variant depending on the state of the element.
void addVariantUpdater(String pathInsidePrim, String varsetName, Function<T, Object> variantProvider)
Adds a variant updater (a set of alternative configurations) for a prim
- Parameters:
pathInsidePrim
- A relative part to an embedded prim that needs to be changed.varsetName
- The name of the variant set.variantProvider
- The function that generates the name of the USD prim variant depending on the state of the element.