|
def | __init__ (self) |
|
def | getHostPref (self, prefName, defaultValue) |
|
def | setHostPref (self, prefName, value) |
|
def | saveAllPrefs (self) |
|
def | doAssign (self) |
|
def | preExportCheck (self, mode, hdr=None) |
|
def | exportMaterial (self, categorypath, infodict, previewtype) |
|
def | exportLightRig (self, categorypath, infodict) |
|
def | exportEnvMap (self, categorypath, infodict) |
|
def | importAsset (self, asset, assignToSelected=False) |
|
◆ __init__()
def rfm2.ui.assets_browser.MayaPrefs.__init__ |
( |
|
self | ) |
|
◆ doAssign()
def rfm2.ui.assets_browser.MayaPrefs.doAssign |
( |
|
self | ) |
|
◆ exportEnvMap()
def rfm2.ui.assets_browser.MayaPrefs.exportEnvMap |
( |
|
self, |
|
|
|
categorypath, |
|
|
|
infodict |
|
) |
| |
◆ exportLightRig()
def rfm2.ui.assets_browser.MayaPrefs.exportLightRig |
( |
|
self, |
|
|
|
categorypath, |
|
|
|
infodict |
|
) |
| |
◆ exportMaterial()
def rfm2.ui.assets_browser.MayaPrefs.exportMaterial |
( |
|
self, |
|
|
|
categorypath, |
|
|
|
infodict, |
|
|
|
previewtype |
|
) |
| |
◆ getHostPref()
def rfm2.ui.assets_browser.MayaPrefs.getHostPref |
( |
|
self, |
|
|
|
prefName, |
|
|
|
defaultValue |
|
) |
| |
Reads a single pref from the host application.
Args:
prefName (str): The preference name
defaultValue (any): A default value if the pref does not exist yet.
Returns:
int/str/str[]: The current value or the default if not available.
◆ importAsset()
def rfm2.ui.assets_browser.MayaPrefs.importAsset |
( |
|
self, |
|
|
|
asset, |
|
|
|
assignToSelected = False |
|
) |
| |
◆ preExportCheck()
def rfm2.ui.assets_browser.MayaPrefs.preExportCheck |
( |
|
self, |
|
|
|
mode, |
|
|
|
hdr = None |
|
) |
| |
◆ saveAllPrefs()
def rfm2.ui.assets_browser.MayaPrefs.saveAllPrefs |
( |
|
self | ) |
|
◆ setHostPref()
def rfm2.ui.assets_browser.MayaPrefs.setHostPref |
( |
|
self, |
|
|
|
prefName, |
|
|
|
value |
|
) |
| |
Save the given value in the host's preferences.
First look at the value's type and call the matching host API. In Maya,
this is maya.cmds.optionVar. The optionVar is named after the class
attribute.
Args:
prefName (str): The class attribute name for that pref.
value (int/str/str[]): The value we should store.
Raises:
RmanAssetMayaError: If we don't support the given data type.
◆ cfg
rfm2.ui.assets_browser.MayaPrefs.cfg |
◆ debug
rfm2.ui.assets_browser.MayaPrefs.debug |
◆ error
rfm2.ui.assets_browser.MayaPrefs.error |
◆ hostTree
rfm2.ui.assets_browser.MayaPrefs.hostTree |
◆ progress
rfm2.ui.assets_browser.MayaPrefs.progress |
◆ rmanTree
rfm2.ui.assets_browser.MayaPrefs.rmanTree |
◆ rpbConfigFile
rfm2.ui.assets_browser.MayaPrefs.rpbConfigFile |
◆ rpbDockArea
rfm2.ui.assets_browser.MayaPrefs.rpbDockArea |
◆ rpbDockHeight
rfm2.ui.assets_browser.MayaPrefs.rpbDockHeight |
◆ rpbDockIsFloating
rfm2.ui.assets_browser.MayaPrefs.rpbDockIsFloating |
◆ rpbDockWidth
rfm2.ui.assets_browser.MayaPrefs.rpbDockWidth |
◆ rpbDockX
rfm2.ui.assets_browser.MayaPrefs.rpbDockX |
◆ rpbDockY
rfm2.ui.assets_browser.MayaPrefs.rpbDockY |
◆ rpbHideFactoryLib
rfm2.ui.assets_browser.MayaPrefs.rpbHideFactoryLib |
◆ rpbRenderAllHDRs
rfm2.ui.assets_browser.MayaPrefs.rpbRenderAllHDRs |
◆ rpbSelectedCategory
rfm2.ui.assets_browser.MayaPrefs.rpbSelectedCategory |
◆ rpbSelectedLibrary
rfm2.ui.assets_browser.MayaPrefs.rpbSelectedLibrary |
◆ rpbSelectedPreviewEnv
rfm2.ui.assets_browser.MayaPrefs.rpbSelectedPreviewEnv |
◆ rpbSwatchSize
rfm2.ui.assets_browser.MayaPrefs.rpbSwatchSize |
◆ rpbUserLibraries
rfm2.ui.assets_browser.MayaPrefs.rpbUserLibraries |
◆ textEditor
rfm2.ui.assets_browser.MayaPrefs.textEditor |
◆ warning
rfm2.ui.assets_browser.MayaPrefs.warning |
The documentation for this class was generated from the following file:
- /Users/plp/Perforce/plp_thebridge_rman_24_dev/rat/apps/rfm/scripts/rfm2/ui/assets_browser.py