The layer manager node handles serialization and deserialization of all layers used by all ProxyShapes.
More...
#include <RendererManager.h>
The layer manager node handles serialization and deserialization of all layers used by all ProxyShapes.
AL::usdmaya::nodes::RendererManager::AL_DECL_ATTRIBUTE |
( |
rendererPluginName |
| ) |
|
Type Info & Registration.
Hydra renderer plugin name used for rendering (storable)
static RendererManager* AL::usdmaya::nodes::RendererManager::findManager |
( |
| ) |
|
|
static |
static MObject AL::usdmaya::nodes::RendererManager::findNode |
( |
| ) |
|
|
static |
Find the already-existing non-referenced RendererManager node in the scene, or return a null MObject.
- Returns
- the found RendererManager node, or a null MObject
static RendererManager* AL::usdmaya::nodes::RendererManager::findOrCreateManager |
( |
MDGModifier * |
dgmod = nullptr , |
|
|
bool * |
wasCreated = nullptr |
|
) |
| |
|
static |
Either find the already-existing non-referenced RendererManager in the scene, or make one.
- Parameters
-
dgmod | An optional dgmodifier to create the node, if necessary. Note that if one is passed in, createNode might be called on it, but doIt never will be, so the layer manager node may not be added to the scene graph yet |
wasCreated | If given, whether a new layer manager had to be created is stored here. |
- Returns
- the found-or-created RendererManager
static MObject AL::usdmaya::nodes::RendererManager::findOrCreateNode |
( |
MDGModifier * |
dgmod = nullptr , |
|
|
bool * |
wasCreated = nullptr |
|
) |
| |
|
static |
Either find the already-existing non-referenced RendererManager node in the scene, or make one.
- Parameters
-
dgmod | An optional dgmodifier to create the node, if necessary. Note that if one is passed in, createNode might be called on it, but doIt never will be, so the layer manager node may not be added to the scene graph yet |
wasCreated | If given, whether a new layer manager had to be created is stored here. |
- Returns
- the found-or-created RendererManager node
void AL::usdmaya::nodes::RendererManager::onRendererChanged |
( |
| ) |
|
Methods to handle renderer plugin.
Set current renderer for all proxy shapes
The documentation for this class was generated from the following file: