Fix various typos in documentation
(cherry picked from commit 486609eccf
)
This commit is contained in:
parent
3f334cb144
commit
5576f5ab81
|
@ -4,7 +4,7 @@
|
||||||
Blends two of three animations additively inside of an [AnimationNodeBlendTree].
|
Blends two of three animations additively inside of an [AnimationNodeBlendTree].
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A resource to add to an [AnimationNodeBlendTree]. Blends two animations out of three additively out of three based on the amounmt value.
|
A resource to add to an [AnimationNodeBlendTree]. Blends two animations out of three additively out of three based on the amount value.
|
||||||
This animation node has three inputs:
|
This animation node has three inputs:
|
||||||
- The base animation to add to
|
- The base animation to add to
|
||||||
- A "-add" animation to blend with when the blend amount is negative
|
- A "-add" animation to blend with when the blend amount is negative
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Blends two of three animations linearly inside of an [AnimationNodeBlendTree].
|
Blends two of three animations linearly inside of an [AnimationNodeBlendTree].
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A resource to add to an [AnimationNodeBlendTree]. Blends two animations out of three linearly out of three based on the amounmt value.
|
A resource to add to an [AnimationNodeBlendTree]. Blends two animations out of three linearly out of three based on the amount value.
|
||||||
This animation node has three inputs:
|
This animation node has three inputs:
|
||||||
- The base animation to blend with
|
- The base animation to blend with
|
||||||
- A "-blend" animation to blend with when the blend amount is negative value
|
- A "-blend" animation to blend with when the blend amount is negative value
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<param index="0" name="use_external_skeleton" type="bool" />
|
<param index="0" name="use_external_skeleton" type="bool" />
|
||||||
<description>
|
<description>
|
||||||
Sets whether the BoneAttachment3D node will use an extenral [Skeleton3D] node rather than attenpting to use its parent node as the [Skeleton3D]. When set to [code]true[/code], the BoneAttachment3D node will use the external [Skeleton3D] node set in [method set_external_skeleton].
|
Sets whether the BoneAttachment3D node will use an external [Skeleton3D] node rather than attempting to use its parent node as the [Skeleton3D]. When set to [code]true[/code], the BoneAttachment3D node will use the external [Skeleton3D] node set in [method set_external_skeleton].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
The maximum distance the detail mesh surface should deviate from heightfield, in cell unit.
|
The maximum distance the detail mesh surface should deviate from heightfield, in cell unit.
|
||||||
</member>
|
</member>
|
||||||
<member name="edge_max_error" type="float" setter="set_edge_max_error" getter="get_edge_max_error" default="1.3">
|
<member name="edge_max_error" type="float" setter="set_edge_max_error" getter="get_edge_max_error" default="1.3">
|
||||||
The maximum distance a simplfied contour's border edges should deviate the original raw contour.
|
The maximum distance a simplified contour's border edges should deviate the original raw contour.
|
||||||
</member>
|
</member>
|
||||||
<member name="edge_max_length" type="float" setter="set_edge_max_length" getter="get_edge_max_length" default="12.0">
|
<member name="edge_max_length" type="float" setter="set_edge_max_length" getter="get_edge_max_length" default="12.0">
|
||||||
The maximum allowed length for contour edges along the border of the mesh.
|
The maximum allowed length for contour edges along the border of the mesh.
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="bake_simplification_distance" type="float" setter="set_bake_simplification_distance" getter="get_bake_simplification_distance" default="0.1">
|
<member name="bake_simplification_distance" type="float" setter="set_bake_simplification_distance" getter="get_bake_simplification_distance" default="0.1">
|
||||||
The simplification distance to use for simplifying the generated occluder polygon (in 3D units). Higher values result in a less detailed occluder mesh, which improves performance but reduces culling accuracy.
|
The simplification distance to use for simplifying the generated occluder polygon (in 3D units). Higher values result in a less detailed occluder mesh, which improves performance but reduces culling accuracy.
|
||||||
The occluder geometry is rendered on the CPU, so it is important to keep its geometry as simple as possible. Since the buffer is rendered at a low resolution, less detailed occluder meshes generally still work well. The default value is fairly aggressive, so you may have to decrase it if you run into false negatives (objects being occluded even though they are visible by the camera). A value of [code]0.01[/code] will act conservatively, and will keep geometry [i]perceptually[/i] unaffected in the occlusion culling buffer. Depending on the scene, a value of [code]0.01[/code] may still simplify the mesh noticeably compared to disabling simplification entirely.
|
The occluder geometry is rendered on the CPU, so it is important to keep its geometry as simple as possible. Since the buffer is rendered at a low resolution, less detailed occluder meshes generally still work well. The default value is fairly aggressive, so you may have to decrease it if you run into false negatives (objects being occluded even though they are visible by the camera). A value of [code]0.01[/code] will act conservatively, and will keep geometry [i]perceptually[/i] unaffected in the occlusion culling buffer. Depending on the scene, a value of [code]0.01[/code] may still simplify the mesh noticeably compared to disabling simplification entirely.
|
||||||
Setting this to [code]0.0[/code] disables simplification entirely, but vertices in the exact same position will still be merged. The mesh will also be re-indexed to reduce both the number of vertices and indices.
|
Setting this to [code]0.0[/code] disables simplification entirely, but vertices in the exact same position will still be merged. The mesh will also be re-indexed to reduce both the number of vertices and indices.
|
||||||
[b]Note:[/b] This uses the [url=https://meshoptimizer.org/]meshoptimizer[/url] library under the hood, similar to LOD generation.
|
[b]Note:[/b] This uses the [url=https://meshoptimizer.org/]meshoptimizer[/url] library under the hood, similar to LOD generation.
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
The index of the [Bone2D] that this [PhysicalBone2D] should simulate.
|
The index of the [Bone2D] that this [PhysicalBone2D] should simulate.
|
||||||
</member>
|
</member>
|
||||||
<member name="bone2d_nodepath" type="NodePath" setter="set_bone2d_nodepath" getter="get_bone2d_nodepath" default="NodePath("")">
|
<member name="bone2d_nodepath" type="NodePath" setter="set_bone2d_nodepath" getter="get_bone2d_nodepath" default="NodePath("")">
|
||||||
The [NodePath] to the [Bone2D] that this [PhysicalBone2D] isshould simulate.
|
The [NodePath] to the [Bone2D] that this [PhysicalBone2D] should simulate.
|
||||||
</member>
|
</member>
|
||||||
<member name="follow_bone_when_simulating" type="bool" setter="set_follow_bone_when_simulating" getter="get_follow_bone_when_simulating" default="false">
|
<member name="follow_bone_when_simulating" type="bool" setter="set_follow_bone_when_simulating" getter="get_follow_bone_when_simulating" default="false">
|
||||||
If [code]true[/code], the [PhysicalBone2D] will keep the transform of the bone it is bound to when simulating physics.
|
If [code]true[/code], the [PhysicalBone2D] will keep the transform of the bone it is bound to when simulating physics.
|
||||||
|
|
Loading…
Reference in New Issue