GlobalImportInterface Class Reference

#include <globalimport.h>

Detailed Description

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

Static Public Member Functions

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

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (GlobalImportInterface, MAXON_REFERENCE_STATIC, "net.maxon.exchange.interface.globalimport")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( GlobalImportInterface  ,
MAXON_REFERENCE_STATIC  ,
"net.maxon.exchange.interface.globalimport"   
)
private

◆ FillDropdown()

static MAXON_METHOD Result<void> FillDropdown ( cinema::Description description,
const cinema::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.