- java.lang.Object
- com.anylogic.engine.omniverse_connector.AbstractInstancingUsdRepresentation<T>
- com.anylogic.engine.omniverse_connector.BatchMarkupUsdRepresentation<T>
- All Implemented Interfaces:
InstancingUsdRepresentation<T>,UsdRepresentation<T>
@AnyLogicInternalAPI public class BatchMarkupUsdRepresentation<T extends AbstractMarkup> extends AbstractInstancingUsdRepresentation<T>
| Constructor | Description |
|---|---|
BatchMarkupUsdRepresentation |
| Modifier and Type | Method | Description |
|---|---|---|
void | addAttrUpdater |
Adds an attribute updater for a prim depending on the element state
|
void | addAttrUpdater |
Add binding to USD prim attribute
|
void | addVariantUpdater |
Adds a variant updater (a set of alternative configurations) for a prim
|
void | addVariantUpdater |
Add binding to USD prim variant
|
void | fillFrame |
Methods inherited from class com.anylogic.engine.omniverse_connector.AbstractInstancingUsdRepresentation
disableCache, getAssetPaths, getCacheSize, getContainerPath, getObject, isInstanceable, setCacheSize, setInstanceablepublic BatchMarkupUsdRepresentation(UsdContext context, Iterable<T> collection, List<String> assetPath, String containerPath, String innerPath, String parentContainerPath, BiFunction<T, String, AbstractUsdRepresentation<T>> factory)
@AnyLogicInternalAPI public void fillFrame(OmniFrame frame)
- Specified by:
fillFramein interfaceUsdRepresentation<T extends AbstractMarkup>- Specified by:
fillFramein classAbstractInstancingUsdRepresentation<T extends AbstractMarkup>
public void addAttrUpdater(String name, Function<T, Object> valueProvider)
Description copied from class:
AbstractInstancingUsdRepresentationAdd binding to USD prim attribute
- Specified by:
addAttrUpdaterin interfaceInstancingUsdRepresentation<T extends AbstractMarkup>- Specified by:
addAttrUpdaterin interfaceUsdRepresentation<T extends AbstractMarkup>- Specified by:
addAttrUpdaterin classAbstractInstancingUsdRepresentation<T extends AbstractMarkup>- Parameters:
name- attribute namevalueProvider- function that provides attribute value
public void addVariantUpdater(String name, Function<T, Object> valueProvider)
Description copied from class:
AbstractInstancingUsdRepresentationAdd binding to USD prim variant
- Specified by:
addVariantUpdaterin interfaceInstancingUsdRepresentation<T extends AbstractMarkup>- Specified by:
addVariantUpdaterin interfaceUsdRepresentation<T extends AbstractMarkup>- Specified by:
addVariantUpdaterin classAbstractInstancingUsdRepresentation<T extends AbstractMarkup>- Parameters:
name- variant set namevalueProvider- function that provides variant name
public void addVariantUpdater(String pathInsidePrim, String varsetName, Function<T, Object> variantProvider)
Description copied from interface:
UsdRepresentationAdds 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.
public void addAttrUpdater(String pathInsidePrim, String attrName, Function<T, Object> valueProvider)
Description copied from interface:
UsdRepresentationAdds 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.