Sketch and Toon Preferences

About

  • Header File: sketch/description/ttoonupprefs.h
  • Description Category: Preferences. A preferences object. See GetWorldContainer().

Parameters

Parameters are accessed with C4DAtom::GetParameter()/ C4DAtom::SetParameter(). See page_maxonapi_getting_started_foundations_cinema_parameters.


Parameter: Auto Add Post Effect


Parameter: Auto Add Material (Post Effect)


Parameter: Auto Add Material (Style Tag)


Parameter: Material Background Color

  • Parameter ID: TOONUP_PREFS_PREVIEW_BACKGROUND
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • Default (TOONUP_PREFS_PREVIEW_BACKGROUND_DEFAULT)
    • White (TOONUP_PREFS_PREVIEW_BACKGROUND_WHITE)
    • Black (TOONUP_PREFS_PREVIEW_BACKGROUND_BLACK)
    • Shading (TOONUP_PREFS_PREVIEW_BACKGROUND_SHADED)

Parameter: Material Object Color

  • Parameter ID: TOONUP_PREFS_PREVIEW_OBJECT
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • Default (TOONUP_PREFS_PREVIEW_OBJECT_DEFAULT)
    • White (TOONUP_PREFS_PREVIEW_OBJECT_WHITE)
    • Black (TOONUP_PREFS_PREVIEW_OBJECT_BLACK)
    • Transparent (TOONUP_PREFS_PREVIEW_OBJECT_TRANS)
    • Shading (TOONUP_PREFS_PREVIEW_OBJECT_SHADED)

Parameter: Material Preview

  • Parameter ID: TOONUP_PREFS_PREVIEW
  • Parameter Type: maxon::Int32 (Basic Data Types)
  • Cycle Values:
    • Standard (TOONUP_PREFS_PREVIEW_STANDARD)
    • Cube (TOONUP_PREFS_PREVIEW_CUBE)
    • Rounded Cube (TOONUP_PREFS_PREVIEW_ROUNDCUBE)
    • Plane (TOONUP_PREFS_PREVIEW_PLANE)
    • Cylinder (TOONUP_PREFS_PREVIEW_CYLINDER)
    • Torus (TOONUP_PREFS_PREVIEW_TORUS)
    • Plane Backlit (TOONUP_PREFS_PREVIEW_PLANEBACK)
    • Sphere (TOONUP_PREFS_PREVIEW_SPHERE)
    • Double Torus (TOONUP_PREFS_PREVIEW_DOUBLETORUS)
    • Knot (TOONUP_PREFS_PREVIEW_KNOT)
    • Stroke (TOONUP_PREFS_PREVIEW_STROKE)
    • Custom (TOONUP_PREFS_PREVIEW_CUSTOM)

Parameter: Custom Preview