Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.
ID SLA_PROXIMAL_BLEND_MODE
Element Information
Sample Code
Example code for the id SLA_PROXIMAL_BLEND_MODE in XSLAProximal
Note that this is not the actual code from the XSLAProximal file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (XSLAProximal.res)
LONG SLA_PROXIMAL_BLEND_MODE { CYCLE { SLA_PROXIMAL_BLEND_MODE_LIGHTEN; SLA_PROXIMAL_BLEND_MODE_SCREEN; SLA_PROXIMAL_BLEND_MODE_DIFFERENCE; SLA_PROXIMAL_BLEND_MODE_EXCLUSION; SLA_PROXIMAL_BLEND_MODE_ADD; } }
Header File Code (XSLAProximal.h)
#ifndef XSLAPROXIMAL_H__ #define XSLAPROXIMAL_H__ enum { SLA_PROXIMAL_BLEND_MODE = 1000, //First ID should start at 1000 SLA_PROXIMAL_BLEND_MODE_LIGHTEN = 1, SLA_PROXIMAL_BLEND_MODE_SCREEN = 2, SLA_PROXIMAL_BLEND_MODE_DIFFERENCE = 3, SLA_PROXIMAL_BLEND_MODE_EXCLUSION = 4, SLA_PROXIMAL_BLEND_MODE_ADD = 5, }; #endif // XSLAPROXIMAL_H__
String File Code (XSLAProximal.str)
// C4D-StringResource // Identifier Text STRINGTABLE { SLA_PROXIMAL_BLEND_MODE "BlendMode"; SLA_PROXIMAL_BLEND_MODE_LIGHTEN "Lighten"; SLA_PROXIMAL_BLEND_MODE_SCREEN "Screen"; SLA_PROXIMAL_BLEND_MODE_DIFFERENCE "Difference"; SLA_PROXIMAL_BLEND_MODE_EXCLUSION "Exclusion"; SLA_PROXIMAL_BLEND_MODE_ADD "Add"; }