-
Notifications
You must be signed in to change notification settings - Fork 25
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
Finish filling in all of the API docs #165
Conversation
@devloglogan Can you review the docs I added for the extensions that you worked on? Related to that:
Thanks! |
@dsnopek I agree with unbinding |
@@ -1,8 +1,10 @@ | |||
<?xml version="1.0" encoding="UTF-8" ?> | |||
<class name="OpenXRFbBodyTrackingExtensionWrapper" inherits="OpenXRExtensionWrapperExtension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd"> | |||
<brief_description> | |||
Wraps the [code]XR_FB_body_tracking[/code] extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we unregister the singleton for the extension wrapper classes that don't provide any methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The singleton isn't being registered, only the class, but that's enough for it to appear in the editor's help docs so we need to provide something here. And, unfortunately, we have to register the class, because unlike in Godot itself, GDExtension classes won't work without being registered.
We already have an
Well, looking at the code, they don't do exactly the same thing. Here's what all the methods mentioned here appear to do:
Looking at the spec, it seems like not all runtimes that support So, thinking about this a bit more, I think all the Does that sound right? I'll update the docs to say that for now :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple small comments. Thanks for writing these out!
@dsnopek Ah, I see, had a hasty misread when I looked at the functions in the header file. That makes sense to me. I'm still not a huge fan of the somewhat colliding function names, but maybe there isn't a perfect way around it in this case. |
This PR finishes filling in all the missing API documentation. This will appear both in the editor and in the online documentation.