GlobalImportInterface Class Reference

#include <globalimport.h>

Inheritance diagram for GlobalImportInterface:

Detailed Description

GlobalImport provides some functionality to handle and get global import settings.

Static Public Member Functions

static MAXON_METHOD Result< void > FillDropdown (Description &description, const DescID &parameterId)
 
static MAXON_METHOD maxon::Id GetTargetNodeSpace ()
 
static MAXON_METHOD maxon::Id GetDefaultNodeSpace ()
 

Private Member Functions

 MAXON_INTERFACE (GlobalImportInterface, MAXON_REFERENCE_NORMAL, "net.maxon.exchange.interface.globalimport")
 

Private Attributes

 MAXON_INTERFACE_SINGLE_IMPLEMENTATION
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( GlobalImportInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.exchange.interface.globalimport"   
)
private

◆ FillDropdown()

static MAXON_METHOD Result<void> FillDropdown ( Description description,
const DescID parameterId 
)
static

Fills a dropdown list and an array with all available node spaces. The selected entry will be the target read out of the world preferences.

Parameters
[in]descriptionThe description containing the cycle gadget to be filled.
[in]parameterIdThe ID of the dropdown gadget.

◆ GetTargetNodeSpace()

static MAXON_METHOD maxon::Id GetTargetNodeSpace ( )
static

Returns the target node space based on the global import settings.

Returns
Id of the target node space.

◆ GetDefaultNodeSpace()

static MAXON_METHOD maxon::Id GetDefaultNodeSpace ( )
static

Returns the (currently) default node space of Cinema 4D.

Returns
Id of the default node space.

Member Data Documentation

◆ MAXON_INTERFACE_SINGLE_IMPLEMENTATION

MAXON_INTERFACE_SINGLE_IMPLEMENTATION
private