- java.lang.Object
- com.anylogic.engine.omniverse_connector.AbstractInstancingUsdRepresentation<A>
- All Implemented Interfaces:
InstancingUsdRepresentation<A>
,UsdRepresentation<A>
- Direct Known Subclasses:
BatchMarkupUsdRepresentation
,CollectionUsdRepresentation
@AnyLogicInternalCodegenAPI public abstract class AbstractInstancingUsdRepresentation<A> extends Object implements InstancingUsdRepresentation<A>
Constructor | Description |
---|---|
AbstractInstancingUsdRepresentation |
Modifier and Type | Method | Description |
---|---|---|
abstract void | addAttrUpdater |
Add binding to USD prim attribute
|
abstract void | addVariantUpdater |
Add binding to USD prim variant
|
void | disableCache() | |
abstract void | fillFrame | |
List<String> | getAssetPaths() | |
int | getCacheSize() | |
String | getContainerPath() | |
Iterable<A> | getObject() | |
boolean | isInstanceable() |
Return if USD prims will be instanceable
|
void | setCacheSize | |
void | setInstanceable |
Set if USD prims will be instanceable or not
|
public AbstractInstancingUsdRepresentation(Iterable<A> collection, List<String> assetPath, String containerPath)
@AnyLogicInternalAPI public void setCacheSize(int cacheSize)
- Specified by:
setCacheSize
in interfaceInstancingUsdRepresentation<A>
@AnyLogicInternalAPI public void disableCache()
- Specified by:
disableCache
in interfaceInstancingUsdRepresentation<A>
@AnyLogicInternalAPI public Iterable<A> getObject()
- Specified by:
getObject
in interfaceUsdRepresentation<A>
@AnyLogicInternalAPI public int getCacheSize()
- Specified by:
getCacheSize
in interfaceInstancingUsdRepresentation<A>
public boolean isInstanceable()
Return if USD prims will be instanceable
- Specified by:
isInstanceable
in interfaceInstancingUsdRepresentation<A>
- Returns:
@AnyLogicInternalAPI public String getContainerPath()
- Specified by:
getContainerPath
in interfaceInstancingUsdRepresentation<A>
@AnyLogicInternalAPI public List<String> getAssetPaths()
- Specified by:
getAssetPaths
in interfaceInstancingUsdRepresentation<A>
public void setInstanceable(boolean instanceable)
Set if USD prims will be instanceable or not
- Specified by:
setInstanceable
in interfaceInstancingUsdRepresentation<A>
- Parameters:
instanceable
-
@AnyLogicInternalAPI public abstract void fillFrame(OmniFrame frame)
- Specified by:
fillFrame
in interfaceUsdRepresentation<A>
public abstract void addAttrUpdater(String name, Function<A, Object> valueProvider)
Add binding to USD prim attribute
- Specified by:
addAttrUpdater
in interfaceInstancingUsdRepresentation<A>
- Specified by:
addAttrUpdater
in interfaceUsdRepresentation<A>
- Parameters:
name
- attribute namevalueProvider
- function that provides attribute value
public abstract void addVariantUpdater(String name, Function<A, Object> valueProvider)
Add binding to USD prim variant
- Specified by:
addVariantUpdater
in interfaceInstancingUsdRepresentation<A>
- Specified by:
addVariantUpdater
in interfaceUsdRepresentation<A>
- Parameters:
name
- variant set namevalueProvider
- function that provides variant name