- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- getConnectorPath
- getResourceUsdPath
- isOmniverseConnectorInstalled
- exportStage
- isOpenStageSupported
- openScene
- openSceneIfNeeded
- openSceneIfNeeded
- startLocalConnectorIfNeeded
- startLocalConnectorIfNeeded
- isRenderModelRun
- isValidOmniversePath
- isValidUsdPath
- formatPrimName
- formatAssetPath
- combineUsdPaths
- java.lang.Object
- com.anylogic.engine.omniverse_connector.OmniverseHelper
@AnyLogicInternalAPI public class OmniverseHelper extends Object
Modifier and Type | Field | Description |
---|---|---|
static final int | OMNIVERSE_CONNECTOR_DEFAULT_PORT | |
static final String | OMNIVERSE_PROTOCOL | |
static final String | RELATIVE_SCENE_PREFIX | |
static final String | ROOT_PRIM_NAME | |
static final String | USD_CONTEXT_COLLECTION_KEY | |
static final String | USD_EXTENSION | |
static final String | USDA_EXTENSION | |
static final String | USDC_EXTENSION | |
static final String | USDZ_EXTENSION |
Constructor | Description |
---|---|
OmniverseHelper() |
Modifier and Type | Method | Description |
---|---|---|
static String | combineUsdPaths | |
static void | exportStage | |
static List<String> | formatAssetPath | |
static String | formatPrimName | |
static String | getConnectorPath() | |
static String | getResourceUsdPath | |
static boolean | isOmniverseConnectorInstalled() | |
static boolean | isOpenStageSupported() | |
static boolean | isRenderModelRun() | |
static boolean | isValidOmniversePath | |
static boolean | isValidUsdPath | |
static boolean | openScene | |
static void | openSceneIfNeeded | |
static void | openSceneIfNeeded | |
static void | startLocalConnectorIfNeeded | |
static void | startLocalConnectorIfNeeded |
public static final String ROOT_PRIM_NAME
- See Also:
- Constant Field Values
public static final String USD_CONTEXT_COLLECTION_KEY
- See Also:
- Constant Field Values
public static final String OMNIVERSE_PROTOCOL
- See Also:
- Constant Field Values
public static final String USDZ_EXTENSION
- See Also:
- Constant Field Values
public static final String USD_EXTENSION
- See Also:
- Constant Field Values
public static final String USDC_EXTENSION
- See Also:
- Constant Field Values
public static final String USDA_EXTENSION
- See Also:
- Constant Field Values
public static final int OMNIVERSE_CONNECTOR_DEFAULT_PORT
- See Also:
- Constant Field Values
public static final String RELATIVE_SCENE_PREFIX
- See Also:
- Constant Field Values
public OmniverseHelper()
public static String getConnectorPath()
public static String getResourceUsdPath(String scenePath, String objectFilePath)
public static boolean isOmniverseConnectorInstalled()
public static void exportStage(String stagePath, String exportPath, boolean flatten) throws Exception
- Throws:
Exception
public static boolean isOpenStageSupported()
public static boolean openScene(String path)
public static void openSceneIfNeeded(OmniverseSyncParameters omniverseSyncParameters)
public static void openSceneIfNeeded(String scenePath, boolean openSceneConfigured)
public static void startLocalConnectorIfNeeded(String password, boolean startConnectorConfigured)
public static void startLocalConnectorIfNeeded(OmniverseSyncParameters omniverseSyncParameters)
public static boolean isRenderModelRun()
public static boolean isValidOmniversePath(String path)
public static boolean isValidUsdPath(String path)
public static String formatPrimName(String objectName, String parent)
public static List<String> formatAssetPath(String modelUsdPath, String scenePath)
@AnyLogicInternalAPI public static String combineUsdPaths(String parent, String child)