asset_creation.h File Reference

Classes

class  AssetCreationInterface
 

Namespaces

 maxon
 
 maxon::APPSETTINGS
 
 maxon::APPSETTINGS::ASSETS
 

Typedefs

using DescCompareEntry = Tuple< Bool, BaseContainer, DescID, maxon::String >
 

Enumerations

enum class  ASSETINSERTOBJECTMODE {
  ASOBJECT ,
  ASINSTANCE ,
  ASRENDERINSTANCE ,
  ASXREF
}
 
enum class  GENERATESCENEPREVIEWIMAGEFLAGS {
  NONE ,
  ISORIGINALDOCUMENT ,
  FRAMESCENE ,
  PREVIEWRENDER ,
  GEOMETRYONLY ,
  AUTODETECT_RENDERENGINE
}
 
enum class  OPENSAVEASSETDIALOGFLAGS {
  NONE ,
  ALLOW_EDIT_ID ,
  ALLOW_EDIT_NAME ,
  SHOW_VERSION ,
  ALLOW_EMPTY_CATEGORY ,
  SHOW_MAKE_DEFAULT
}
 

Functions

enum maxon::ASSETINSERTOBJECTMODE MAXON_ENUM_LIST (ASSETINSERTOBJECTMODE)
 
 MAXON_ATTRIBUTE (ASSETINSERTOBJECTMODE, INSERTOBJECTAS, "net.maxon.appsettings.assets.insertobjectas")
 
 MAXON_ATTRIBUTE (Id, LASTSAVEREPOSITORY, "net.maxon.appsettings.assets.lastsaverepository")
 
enum maxon::GENERATESCENEPREVIEWIMAGEFLAGS MAXON_ENUM_FLAGS (GENERATESCENEPREVIEWIMAGEFLAGS)
 
enum maxon::OPENSAVEASSETDIALOGFLAGS MAXON_ENUM_FLAGS (OPENSAVEASSETDIALOGFLAGS)
 

Variables

 ASOBJECT
 
 ASINSTANCE
 
 ASRENDERINSTANCE
 
 ASXREF
 
 NONE
 
 ISORIGINALDOCUMENT
 
 FRAMESCENE
 
 PREVIEWRENDER
 
 GEOMETRYONLY
 
 AUTODETECT_RENDERENGINE
 
 ALLOW_EDIT_ID
 
 ALLOW_EDIT_NAME
 
 SHOW_VERSION
 
 ALLOW_EMPTY_CATEGORY
 
 SHOW_MAKE_DEFAULT
 

Variable Documentation

◆ ASOBJECT

ASOBJECT

create new assets as an individual object

◆ ASINSTANCE

ASINSTANCE

if one object of the same object was already dragged into the scene create a instance

◆ ASRENDERINSTANCE

ASRENDERINSTANCE

if one object of the same object was already dragged into the scene create a render instance

◆ ASXREF

ASXREF

if one object of the same object was already dragged into the scene create a legacy xref

◆ NONE

NONE

◆ ISORIGINALDOCUMENT

ISORIGINALDOCUMENT

if set the document will be cloned for rendering, otherwise the document will be used and modified directly.

◆ FRAMESCENE

FRAMESCENE

frames the scene before rendering

◆ PREVIEWRENDER

PREVIEWRENDER

use the preview renderer instead of the selected render engine

◆ GEOMETRYONLY

GEOMETRYONLY

apply geometry only rendering to the scene (in case of PREVIEWRENDER)

◆ AUTODETECT_RENDERENGINE

AUTODETECT_RENDERENGINE

detect render engine from document

◆ ALLOW_EDIT_ID

ALLOW_EDIT_ID

enabled the editfield of the assset id to allow the user editing of the id.

◆ ALLOW_EDIT_NAME

ALLOW_EDIT_NAME

allows to edit the name of the asset

◆ SHOW_VERSION

SHOW_VERSION

shows the version edit field to let the user enter a version name

◆ ALLOW_EMPTY_CATEGORY

ALLOW_EMPTY_CATEGORY

set to allow to clear the category (make it blank). otherwise the user needs to choose a category.

◆ SHOW_MAKE_DEFAULT

SHOW_MAKE_DEFAULT

enabled the "make as default" checkbox for presets.