Skip to content

Commit e416a55

Browse files
authored
Merge pull request #897 from godot-rust/qol/experimental-classes
Update list of experimental classes
2 parents 671fcb5 + 837a709 commit e416a55

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

godot-codegen/src/special_cases/special_cases.rs

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,16 +146,24 @@ pub fn is_class_experimental(godot_class_name: &str) -> bool {
146146
// Note: parameter can be a class or builtin name, but also something like "enum::AESContext.Mode".
147147

148148
// These classes are currently hardcoded, but the information is available in Godot's doc/classes directory.
149-
// The XML file contains a property <class name="NavigationMesh" ... is_experimental="true">.
149+
// The XML file contains a property <class name="NavigationMesh" ... experimental="">.
150150

151+
// Last update: 2024-09-15; Godot rev 6681f2563b99e14929a8acb27f4908fece398ef1.
151152
match godot_class_name {
153+
| "AudioSample"
154+
| "AudioSamplePlayback"
155+
| "Compositor"
156+
| "CompositorEffect"
152157
| "GraphEdit"
158+
| "GraphElement"
159+
| "GraphFrame"
153160
| "GraphNode"
154161
| "NavigationAgent2D"
155162
| "NavigationAgent3D"
156163
| "NavigationLink2D"
157164
| "NavigationLink3D"
158165
| "NavigationMesh"
166+
| "NavigationMeshSourceGeometryData2D"
159167
| "NavigationMeshSourceGeometryData3D"
160168
| "NavigationObstacle2D"
161169
| "NavigationObstacle3D"
@@ -168,6 +176,7 @@ pub fn is_class_experimental(godot_class_name: &str) -> bool {
168176
| "NavigationRegion3D"
169177
| "NavigationServer2D"
170178
| "NavigationServer3D"
179+
| "Parallax2D"
171180
| "SkeletonModification2D"
172181
| "SkeletonModification2DCCDIK"
173182
| "SkeletonModification2DFABRIK"
@@ -178,8 +187,11 @@ pub fn is_class_experimental(godot_class_name: &str) -> bool {
178187
| "SkeletonModification2DTwoBoneIK"
179188
| "SkeletonModificationStack2D"
180189
| "StreamPeerGZIP"
181-
| "TextureRect"
182-
190+
| "XRBodyModifier3D"
191+
| "XRBodyTracker"
192+
| "XRFaceModifier3D"
193+
| "XRFaceTracker"
194+
183195
=> true, _ => false
184196
}
185197
}

0 commit comments

Comments
 (0)