Sketch and Toon Preferences

About

  • Header File: sketch/description/ttoonupprefs.h

  • Description Category: Preferences.

Parameters

Parameters are accessed with C4DAtom.GetParameter()/C4DAtom.SetParameter().


Parameter: Auto Add Post Effect

  • Parameter ID: c4d.TOONUP_PREFS_SETUP_AUTOVP

  • Parameter Type: bool


Parameter: Auto Add Material (Post Effect)

  • Parameter ID: c4d.TOONUP_PREFS_SETUP_AUTOADDVPMAT

  • Parameter Type: bool


Parameter: Auto Add Material (Style Tag)

  • Parameter ID: c4d.TOONUP_PREFS_SETUP_AUTOADDTAGMAT

  • Parameter Type: bool


Parameter: Material Default Background Color

  • Parameter ID: c4d.TOONUP_PREFS_PREVIEW_BACKGROUND

  • Parameter Type: int

  • Cycle Values:
    • Default (c4d.TOONUP_PREFS_PREVIEW_BACKGROUND_DEFAULT)

    • White (c4d.TOONUP_PREFS_PREVIEW_BACKGROUND_WHITE)

    • Black (c4d.TOONUP_PREFS_PREVIEW_BACKGROUND_BLACK)

    • Shading (c4d.TOONUP_PREFS_PREVIEW_BACKGROUND_SHADED)


Parameter: Material Default Object Color

  • Parameter ID: c4d.TOONUP_PREFS_PREVIEW_OBJECT

  • Parameter Type: int

  • Cycle Values:
    • Default (c4d.TOONUP_PREFS_PREVIEW_OBJECT_DEFAULT)

    • White (c4d.TOONUP_PREFS_PREVIEW_OBJECT_WHITE)

    • Black (c4d.TOONUP_PREFS_PREVIEW_OBJECT_BLACK)

    • Transparent (c4d.TOONUP_PREFS_PREVIEW_OBJECT_TRANS)

    • Shading (c4d.TOONUP_PREFS_PREVIEW_OBJECT_SHADED)


Parameter: Material Default Project

  • Parameter ID: c4d.TOONUP_PREFS_PREVIEW

  • Parameter Type: int

  • Cycle Values:
    • Standard (c4d.TOONUP_PREFS_PREVIEW_STANDARD)

    • Cube (c4d.TOONUP_PREFS_PREVIEW_CUBE)

    • Rounded Cube (c4d.TOONUP_PREFS_PREVIEW_ROUNDCUBE)

    • Plane (c4d.TOONUP_PREFS_PREVIEW_PLANE)

    • Cylinder (c4d.TOONUP_PREFS_PREVIEW_CYLINDER)

    • Torus (c4d.TOONUP_PREFS_PREVIEW_TORUS)

    • Plane Backlit (c4d.TOONUP_PREFS_PREVIEW_PLANEBACK)

    • Sphere (c4d.TOONUP_PREFS_PREVIEW_SPHERE)

    • Double Torus (c4d.TOONUP_PREFS_PREVIEW_DOUBLETORUS)

    • Knot (c4d.TOONUP_PREFS_PREVIEW_KNOT)

    • Stroke (c4d.TOONUP_PREFS_PREVIEW_STROKE)

    • Custom (c4d.TOONUP_PREFS_PREVIEW_CUSTOM)


Parameter: Custom Preview

  • Parameter ID: c4d.TOONUP_PREFS_CUSTOMPREVIEW

  • Parameter Type: int