Skip to content
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

[3.x] Improve NavigationMesh typing, parameter validation and documentation #51499

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

timothyqiu
Copy link
Member

  • Document properties and methods of NavigationMesh and NavigationMeshInstance.
    • Descriptions of baking parameters are mainly taken from their corresponding recast field comments.
  • Expose SamplePartitionType, ParsedGeometryType, SourceGeometryMode enums to scripts.
    • Also changed the return type of getters and the argument type of setters from int to the corresponding enum.
  • Added parameter validation for various setters.

@akien-mga akien-mga merged commit 91cb296 into godotengine:3.x Aug 11, 2021
@akien-mga
Copy link
Member

Thanks!

@timothyqiu timothyqiu deleted the navmesh-doc-3x branch August 11, 2021 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants