A data class for tag plugins. Use RegisterTagPlugin() to register the plugin. Registered tag plugins appear in the New Tag menu and can be attached to objects.
Note
Before you start writing your own TagData plugin, you should read NodeData Management and Writing delta time plugins before.
See also
Py-LookAtCamera plugin example.
Override - Called when the display is updated for you to display some visual element of your tag in the 3D view.
Note
Important: This function is called in a thread context. Please see the important information about threading.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
Success of drawing into the editor view. |
Override - Called at the point when the tag is executed.
Note
Important: This function is called in a thread context. Please see the important information about threading.
Parameters: |
|
||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: |
int |
||||||||||||||||||||||||||||
Returns: |
One of the following results:
|
New in version R13.016.
Override - By default this function returns False. Then C4D will call Execute() at the priority specified by the user in the EXPRESSION_PRIORITY parameter of the container.
If you override this function and return True, then you can insert your own points of execution in the list by calling for example:
list.Add(tag, EXECUTIONPRIORITY_ANIMATION, 0)
list.Add(tag, EXECUTIONPRIORITY_GENERATOR, 0)
CINEMA 4D will then call Execute() two times.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True if you override this function and have added stuff to list. |