-
-
Notifications
You must be signed in to change notification settings - Fork 23.8k
Fix miscellaneous oddities around the class reference (part 6) #107536
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -326,14 +326,14 @@ | |
| <return type="int" /> | ||
| <param index="0" name="file" type="String" /> | ||
| <description> | ||
| Returns file size in bytes, or [code]-1[/code] on error. | ||
| Returns the size of the file at the given path, in bytes, or [code]-1[/code] on error. | ||
|
Comment on lines
327
to
+329
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes,
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe it should be changed to |
||
| </description> | ||
| </method> | ||
| <method name="get_unix_permissions" qualifiers="static"> | ||
| <return type="int" enum="FileAccess.UnixPermissionFlags" is_bitfield="true" /> | ||
| <param index="0" name="file" type="String" /> | ||
| <description> | ||
| Returns file UNIX permissions. | ||
| Returns the UNIX permissions of the file at the given path. | ||
| [b]Note:[/b] This method is implemented on iOS, Linux/BSD, and macOS. | ||
| </description> | ||
| </method> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -31,7 +31,7 @@ | |||||
| </methods> | ||||||
| <members> | ||||||
| <member name="cast_shadow" type="int" setter="set_cast_shadows_setting" getter="get_cast_shadows_setting" enum="GeometryInstance3D.ShadowCastingSetting" default="1"> | ||||||
| The selected shadow casting flag. | ||||||
| The mode used to cast shadows from this instance. | ||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alternative which I am genuinely not sure.
Suggested change
|
||||||
| </member> | ||||||
| <member name="custom_aabb" type="AABB" setter="set_custom_aabb" getter="get_custom_aabb" default="AABB(0, 0, 0, 0, 0, 0)"> | ||||||
| Overrides the bounding box of this node with a custom one. This can be used to avoid the expensive [AABB] recalculation that happens when a skeleton is used with a [MeshInstance3D] or to have precise control over the [MeshInstance3D]'s bounding box. To use the default AABB, set value to an [AABB] with all fields set to [code]0.0[/code]. To avoid frustum culling, set [member custom_aabb] to a very large AABB that covers your entire game world such as [code]AABB(-10000, -10000, -10000, 20000, 20000, 20000)[/code]. To disable all forms of culling (including occlusion culling), call [method RenderingServer.instance_set_ignore_culling] on the [GeometryInstance3D]'s [RID]. | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.