- java.lang.Object
- com.anylogic.engine.omniverse_connector.AbstractInstancingUsdRepresentation<A>
- com.anylogic.engine.omniverse_connector.CollectionUsdRepresentation<C>
- com.anylogic.engine.omniverse_connector.ShapeCollectionUsdRepresentation<C>
- All Implemented Interfaces:
InstancingUsdRepresentation<C>
,UsdRepresentation<C>
- Direct Known Subclasses:
Shape3DObjectCollectionUsdRepresentation
@AnyLogicInternalAPI public class ShapeCollectionUsdRepresentation<C extends Shape> extends CollectionUsdRepresentation<C>
Constructor | Description |
---|---|
ShapeCollectionUsdRepresentation |
Modifier and Type | Method | Description |
---|---|---|
static boolean | isShapeChanged | |
static boolean | isShapeChanged |
Check shape was changed using provided check function.
|
addAttrUpdater, addAttrUpdater, addPositionUpdater, addPositionUpdater, addVariantUpdater, addVariantUpdater, fillFrame, generate, useReplicatedShapes
Methods inherited from class com.anylogic.engine.omniverse_connector.AbstractInstancingUsdRepresentation
disableCache, getAssetPaths, getCacheSize, getContainerPath, getObject, isInstanceable, setCacheSize, setInstanceable
public ShapeCollectionUsdRepresentation(UsdContext context, Iterable<C> population, List<String> assetPath, String containerPath, String innerPath, String parentContainerPath)
public static boolean isShapeChanged(Shape item)
public static boolean isShapeChanged(Shape item, Predicate<Shape> check, Consumer<Shape> change)
Check shape was changed using provided check function. Shape is considered changed if some of its ancestor was changed
This method can also change the "changed" state of shape using provided change function (if ancestor changed and shape is not)
- Parameters:
item
- shape to checkcheck
- function to check shape changedchange
- function to set changed state- Returns: