Runtime Settings#
Some OpenUSD Exchange behaviors are controllable via global static runtime settings, using OpenUSD’s TfEnvSetting mechanism.
To change the value of any setting from its default, you must set the associated environment variable before loading usdex_core
or any OpenUSD module (e.g. tf
). The environment variable for any setting exactly matches the c++ variable name (without any explicit namespace).
Alternatively, a single environment variable PIXAR_TF_ENV_SETTING_FILE
can be used to supply a file containing key=value lines, where each key is a TfEnvSetting
variable name and each value is in the expected range for that TfEnvSetting
.
Variables#
- pxr::TfEnvSetting< bool > usdex::core::USDEX_ENABLE_OMNI_TRANSCODING
Set the
USDEX_ENABLE_OMNI_TRANSCODING
environment variable to enable/disable the use ofomni_transcoding
withingetValidPrimName(s)
,getValidChildName(s)
, andgetValidPropertyName(s)
. Defaultstrue
(transcoding is enabled).
Variables#
-
pxr::TfEnvSetting<bool> usdex::core::USDEX_ENABLE_OMNI_TRANSCODING#
Set the
USDEX_ENABLE_OMNI_TRANSCODING
environment variable to enable/disable the use ofomni_transcoding
withingetValidPrimName(s)
,getValidChildName(s)
, andgetValidPropertyName(s)
. Defaultstrue
(transcoding is enabled).See Valid and Unique Names for details.