3ds Max USD API Reference
Loading...
Searching...
No Matches
MaxUsdExportChaserRegistry::FactoryContext Class Reference

Holds data that can be accessed when constructing a MaxUsdExportChaser object. More...

#include <ExportChaserRegistry.h>

Public Types

typedef std::map< std::string, INode * > PrimsToNodesMap
 

Public Member Functions

MaxUSDAPI FactoryContext (const UsdStagePtr &stage, const PrimsToNodesMap &primsToNodes, const USDSceneBuilderOptions &jobArgs, const fs::path &filename)
 
MaxUSDAPI UsdStagePtr GetStage () const
 Returns the exported stage. More...
 
MaxUSDAPI const PrimsToNodesMap & GetPrimsToNodesMap () const
 Returns a map that maps full USD prim paths to INodes. More...
 
MaxUSDAPI const USDSceneBuilderOptionsGetJobArgs () const
 Returns the current job args. More...
 
MaxUSDAPI const fs::path & GetFilename () const
 Returns the filename to which the stage exports to. More...
 

Detailed Description

Holds data that can be accessed when constructing a MaxUsdExportChaser object.

This class allows plugin code to only know about the context object during construction and only need to know about the data it is needs to construct.

Member Function Documentation

◆ GetFilename()

MaxUSDAPI const fs::path & MaxUsdExportChaserRegistry::FactoryContext::GetFilename ( ) const

Returns the filename to which the stage exports to.

It is safe for the MaxUsdExportChaser to save this return value and use it during it's execution.

◆ GetJobArgs()

MaxUSDAPI const USDSceneBuilderOptions & MaxUsdExportChaserRegistry::FactoryContext::GetJobArgs ( ) const

Returns the current job args.

It is safe for the MaxUsdExportChaser to save this return value by reference and use it during it's execution.

◆ GetPrimsToNodesMap()

MaxUSDAPI const PrimsToNodesMap & MaxUsdExportChaserRegistry::FactoryContext::GetPrimsToNodesMap ( ) const

Returns a map that maps full USD prim paths to INodes.

It is safe for the MaxUsdExportChaser to save this return value by reference and use it during it's execution.

◆ GetStage()

MaxUSDAPI UsdStagePtr MaxUsdExportChaserRegistry::FactoryContext::GetStage ( ) const

Returns the exported stage.

It is safe for the MaxUsdExportChaser to save this return value and use it during it's execution.


The documentation for this class was generated from the following file: