#include <globalimport.h>
GlobalUtils provides some helper functionality to react to global import settings.
Static Public Member Functions | |
static MAXON_METHOD Result< void > | ConvertObjects (BaseArray< BaseObject * > &objList, const Delegate< Result< void >(BaseObject *, BaseObject *)> &customOperation=nullptr) |
static MAXON_METHOD Result< BaseMaterial * > | CreateGenericMaterial (const material::MaterialExchangeData &materialData, Id nodeSpace, BaseDocument &baseDocument) |
static MAXON_METHOD Result< void > | ConvertTextureTosRGB (ImageTextureRef &textureRef) |
Private Member Functions | |
MAXON_INTERFACE (GlobalUtilsInterface, MAXON_REFERENCE_NORMAL, "net.maxon.exchange.interface.globalutils") | |
Private Attributes | |
MAXON_INTERFACE_SINGLE_IMPLEMENTATION | |
|
private |
|
static |
Converts passed object to Redshift Objects.
[in] | objList | The list of objects to convert. |
|
static |
Creates a generic material based on basic material data and node space.
[in] | materialData | The properties of the material. |
[in] | nodeSpace | The node space ID the material is created for. |
[in] | baseDocument | The active document the import is happening. Note: The material will not be inserted into the document! |
|
static |
Convert an ImageTextureRef to an sRGB color profile.
[in,out] | textureRef | The texture to transform the color profile. |
|
private |