-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.py
More file actions
105 lines (97 loc) · 1.97 KB
/
config.py
File metadata and controls
105 lines (97 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# This file is for building as a Godot module.
def can_build(env, platform):
# 4D depends on 3D to reuse things like Camera3D and AudioListener3D.
return not env["disable_3d"]
def configure(env):
pass
def get_doc_classes():
return [
# General.
"Basis4D",
"Camera4D",
"Euler4D",
"Geometry4D",
"Math4D",
"Node4D",
"QuadSplitContainer",
"RenderingEngine4D",
"RenderingServer4D",
"Rotor4D",
"Transform4D",
"Vector4D",
# Mesh.
"ArrayPolyMesh4D",
"ArrayTetraMesh4D",
"ArrayWireMesh4D",
"BoxPolyMesh4D",
"BoxTetraMesh4D",
"BoxWireMesh4D",
"OFFDocument4D",
"OrthoplexPolyMesh4D",
"OrthoplexTetraMesh4D",
"OrthoplexWireMesh4D",
"Material4D",
"Mesh4D",
"MeshInstance4D",
"PolyMesh4D",
"TetraMaterial4D",
"TetraMesh4D",
"WireMaterial4D",
"WireMesh4D",
"WireMeshBuilder4D",
# Depends on mesh.
"Marker4D",
# Physics.
"Area4D",
"BoxShape4D",
"CapsuleShape4D",
"CharacterBody4D",
"CollisionObject4D",
"CollisionShape4D",
"ConcaveMeshShape4D",
"ConvexHullShape4D",
"CubinderShape4D",
"CylinderShape4D",
"DuocylinderShape4D",
"GeneralShape4D",
"GeneralShapeCurve4D",
"HeightMapShape4D",
"KinematicCollision4D",
"OrthoplexShape4D",
"PhysicsBody4D",
"PhysicsEngine4D",
"PhysicsServer4D",
"PlaneShape4D",
"RayShape4D",
"RigidBody4D",
"Shape4D",
"SphereShape4D",
"StaticBody4D",
# G4MF (listed in dependency order).
"G4MFItem4D",
"G4MFBufferView4D",
"G4MFAccessor4D",
"G4MFFileReference4D",
"G4MFTexture4D",
"G4MFMaterialChannel4D",
"G4MFMaterial4D",
"G4MFMesh4D",
"G4MFMeshInstance4D",
"G4MFMeshSurface4D",
"G4MFMeshSurfaceBinding4D",
"G4MFMeshSurfaceBindingGeometry4D",
"G4MFModel4D",
"G4MFModelInstance4D",
"G4MFLight4D",
"G4MFCamera4D",
"G4MFShape4D",
"G4MFNodePhysics4D",
"G4MFNodePhysicsMotion4D",
"G4MFNode4D",
"G4MFState4D",
"G4MFDocument4D",
]
def get_doc_path():
return "addons/4d/doc_classes"
def get_icons_path():
return "addons/4d/icons"