-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Definition of virtual, const and vararg function classifications in the docs #1753
Comments
From what I can tell:
|
|
Thanks for the explanations which make sense. It does need to be explained in the docs (unless it is described some place and I did not find it) because I know i asked elsewhere and I had differing answers. |
This closes godotengine/godot-docs#1753. (cherry picked from commit c162a39)
This closes godotengine/godot-docs#1753. (cherry picked from commit c162a39)
In the API docs, e.g. http://docs.godotengine.org/en/3.0/classes/class_node.html you see functions classified as
virtual
,const
andvararg
. I am trying to understand what that means with respect to the functions.So I am guessing
virtual
classification is similar to abstract, and must be defined in your code (E.g. callbacks). Butconst
orvararg
classification I am not so sure. What does this classification mean?Examples.
The text was updated successfully, but these errors were encountered: