MethodRegistration::GetMethodFlags
Defined in:
Returns the method flags.
C4Methods.h
Prototype
uint32 GetMethodFlags(void) const;
Description
The GetMethodFlags
function returns the method flags for a particular method registration. The method flags are established when the method registration is constructed and can be a combination (through logical OR) of the following constants.
kMethodNoTarget |
The method does not operate on a target node. This flag prevents a target node from being assigned in the Script Editor. |
kMethodNoSelfTarget |
The method cannot operate on the node to which its script controller is attached. This flag prevents the controller target from being selected as the target node in the Script Editor. |
kMethodNoMessage |
The method does not generate any controller messages. This flag prevents a generic controller from being assigned to the target node in the Script Editor. |
kMethodOutputValue |
The method generates an output value that can be stored in a script variable. This flag allows an output variable to be assigned in the Script Editor. |
See Also