I am coding a node for animation nodes. I need to initialize a set of variables so I can use them, but I need to do it in such a way that they won't be refreshed (reset to the default value) every time I send an output to the node.
I probably want to define the variables before my create(self)
method, so it won't refresh every time I send/receive I/O from the execute(self,a,b,...)
method.
I have this:
def create(self) new.Input(...) new.Input(...) new.Output(...) etc...
def execute(self,a,b,etc..)
loops involving variables.
Where do I define my variables, and what is the syntax for calling them to check or change values without resetting them to their default start settings?