AnyLogic
Expand
Font size
All Superinterfaces:
UsdRepresentation<T>
All Known Implementing Classes:
AbstractInstancingUsdRepresentation, BatchMarkupUsdRepresentation, CollectionUsdRepresentation, MarkupCollectionUsdRepresentation, PopulationUsdRepresentation, PositionalMarkupCollectionUsdRepresentation, Shape3DObjectCollectionUsdRepresentation, ShapeCollectionUsdRepresentation, UsdElementCollectionUsdRepresentation

@AnyLogicInternalCodegenAPI
public interface InstancingUsdRepresentation<T>
extends UsdRepresentation<T>

Method Summary

Modifier and TypeMethodDescription
voidaddAttrUpdater(String name, Function<T,Object> valueProvider)
Add binding to USD prim attribute
voidaddVariantUpdater(String name, Function<T,Object> valueProvider)
Add binding to USD prim variant
voiddisableCache() 
List<String>getAssetPaths() 
intgetCacheSize() 
StringgetContainerPath() 
booleanisInstanceable() 
voidsetCacheSize(int cacheSize) 
voidsetInstanceable(boolean instanceable) 

Methods inherited from interface com.anylogic.engine.omniverse_connector.UsdRepresentation

addAttrUpdater, addVariantUpdater, fillFrame, getObject

Method Details

disableCache

@AnyLogicInternalAPI
void disableCache()

setCacheSize

@AnyLogicInternalAPI
void setCacheSize(int cacheSize)

getCacheSize

@AnyLogicInternalAPI
int getCacheSize()

setInstanceable

void setInstanceable(boolean instanceable)

isInstanceable

boolean isInstanceable()

getContainerPath

@AnyLogicInternalAPI
String getContainerPath()

getAssetPaths

@AnyLogicInternalAPI
List<String> getAssetPaths()

addAttrUpdater

void addAttrUpdater(String name,
 Function<T,Object> valueProvider)
Add binding to USD prim attribute
Specified by:
addAttrUpdater in interface UsdRepresentation<T>
Parameters:
name - attribute name
valueProvider - function that provides attribute value

addVariantUpdater

void addVariantUpdater(String name,
 Function<T,Object> valueProvider)
Add binding to USD prim variant
Specified by:
addVariantUpdater in interface UsdRepresentation<T>
Parameters:
name - variant set name
valueProvider - function that provides variant name