GlobalUtils provides some helper functionality to react to global import settings.
|
static MAXON_METHOD Result< void > | ConvertObjects (BaseArray< cinema::BaseObject * > &objList, const Delegate< Result< void >(cinema::BaseObject *, cinema::BaseObject *)> &customOperation=nullptr) |
|
static MAXON_METHOD Result< cinema::BaseMaterial * > | CreateGenericMaterial (const material::MaterialExchangeData &materialData, Id nodeSpace, cinema::BaseDocument &baseDocument) |
|
static MAXON_METHOD Result< void > | ConvertTextureTosRGB (ImageTextureRef &textureRef) |
|
static MAXON_METHOD Color | ComputeColorTemperatureRGB (Float fTemperature, Bool bNormalize, Float fReference=6500) |
|
static MAXON_METHOD Result< Float > | RSLightGetBaseIntensity (cinema::BaseObject *object) |
|
static MAXON_METHOD Result< void > | RSLightConvertToUnit (cinema::BaseObject *object, Int32 targetUnitId) |
|
static MAXON_METHOD Color | GetRandomColor (Int32 seed) |
|
static MAXON_METHOD Result< void > | InitializeGlobalColorConversionHandler (const cinema::BaseDocument *doc=nullptr) |
|
static MAXON_METHOD void | ClearGlobalColorConversionHandler () |
|
static MAXON_METHOD void | ConvertColorWithGlobalHandler (Vector &color, Bool low=true) |
|
static MAXON_METHOD void | ConvertColorWithGlobalHandler (Vector32 &color, Bool low=true) |
|
static MAXON_METHOD Result< void > | ConvertSceneToExportSpace (cinema::BaseDocument *doc) |
|
static MAXON_METHOD void | ConvertColorRenderSpaceSRGBLinear (cinema::BaseDocument *doc, Color &color, const LiteralId &direction) |
|
static MAXON_METHOD void | ConvertColorRenderSpaceSRGBLinear (cinema::BaseDocument *doc, Color32 &color, const LiteralId &direction) |
|
static MAXON_METHOD void | ConvertColorRenderSpaceSRGBLinear (cinema::BaseDocument *doc, ColorA &color, const LiteralId &direction) |
|
static MAXON_METHOD void | ConvertColorRenderSpaceSRGBLinear (cinema::BaseDocument *doc, ColorA32 &color, const LiteralId &direction) |
|