Skip to content

List of methods that can be exported to Godot #672

Closed
@ralpha

Description

@ralpha

Add a list of methods to the documentation that can be exported to Godot (ex: _input(), _ready(),...) and most importantly the parameter/argument types.
There is the Godot documentation but this is not for the Rust structs. https://docs.godotengine.org/en/stable/classes/class_node.html#method-descriptions

Although not hard now. I was first struggling to find the right types that the parameters should have in Rust. Maybe add something like this to the doc page here:
https://docs.rs/gdnative/0.9.1/gdnative/attr.methods.html
Or links to Godot docs. As searching in rust docs (https://docs.rs/gdnative/0.9.1/gdnative/index.html?search=_input) does not turn of anything (useful).

Created this issue after posting it on Discord.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions