- java.lang.Object
- com.anylogic.engine.omniverse_connector.AbstractUsdRepresentation<JibCrane<?>>
- com.anylogic.engine.omniverse_connector.JibCraneUsdRepresentation
- All Implemented Interfaces:
UsdRepresentation<JibCrane<?>>
public class JibCraneUsdRepresentation extends AbstractUsdRepresentation<JibCrane<?>>
Associates a jib crane with a prim.
Constructor | Description |
---|---|
JibCraneUsdRepresentation |
Modifier and Type | Method | Description |
---|---|---|
void | fillFrame | |
JibCraneUsdRepresentation | setCraneVariantUpdater |
Sets a variant updater (a set of alternative configurations) for a crane prim
|
void | setHookPath |
Set path to the prim that will be used for the crane’s hook
|
JibCraneUsdRepresentation | setHookVariantUpdater |
Sets a variant updater (a set of alternative configurations) for a crane hook prim
|
void | setJibPath |
Set path to the prim that will be used for the crane’s jib.
|
JibCraneUsdRepresentation | setJibVariantUpdater |
Sets a variant updater (a set of alternative configurations) for a crane jib prim
|
void | setTrolleyPath |
Set path to the prim that will be used for the crane’s trolley
|
JibCraneUsdRepresentation | setTrolleyVariantUpdater |
Sets a variant updater (a set of alternative configurations) for a crane trolley prim
|
public JibCraneUsdRepresentation(UsdContext context, JibCrane<?> crane, String cranePrimPath)
@AnyLogicInternalAPI public void fillFrame(OmniFrame frame)
- Specified by:
fillFrame
in interfaceUsdRepresentation<JibCrane<?>>
- Overrides:
fillFrame
in classAbstractUsdRepresentation<JibCrane<?>>
public JibCraneUsdRepresentation setTrolleyVariantUpdater(String varsetName, Function<JibCrane<?>, String> provider)
Sets a variant updater (a set of alternative configurations) for a crane trolley prim
- Parameters:
varsetName
- The name of the variant set.provider
- The function that generates the name of the USD prim variant depending on the state of the element.- Returns:
- Returns the reconfigured JibCraneUsdRepresentation object
public JibCraneUsdRepresentation setJibVariantUpdater(String varsetName, Function<JibCrane<?>, String> provider)
Sets a variant updater (a set of alternative configurations) for a crane jib prim
- Parameters:
varsetName
- The name of the variant set.provider
- The function that generates the name of the USD prim variant depending on the state of the element.- Returns:
- Returns the reconfigured JibCraneUsdRepresentation object
public JibCraneUsdRepresentation setHookVariantUpdater(String varsetName, Function<JibCrane<?>, String> provider)
Sets a variant updater (a set of alternative configurations) for a crane hook prim
- Parameters:
varsetName
- The name of the variant set.provider
- The function that generates the name of the USD prim variant depending on the state of the element.- Returns:
- Returns the reconfigured JibCraneUsdRepresentation object
public JibCraneUsdRepresentation setCraneVariantUpdater(String varsetName, Function<JibCrane<?>, String> provider)
Sets a variant updater (a set of alternative configurations) for a crane prim
- Parameters:
varsetName
- The name of the variant set.provider
- The function that generates the name of the USD prim variant depending on the state of the element.- Returns:
- Returns the reconfigured JibCraneUsdRepresentation object
public void setTrolleyPath(String trolleyPath)
Set path to the prim that will be used for the crane’s trolley
- Parameters:
trolleyPath
- USD prim path
public void setJibPath(String jibPath)
Set path to the prim that will be used for the crane’s jib.
- Parameters:
trolleyPath
- USD prim path
public void setHookPath(String hookPath)
Set path to the prim that will be used for the crane’s hook
- Parameters:
trolleyPath
- USD prim path