#
FuncGodotData
FuncGodot utilizes multiple custom data structures (structs) to hold information parsed from the map file and read and modified by the other core build classes.
Each data type extends from RefCounted; therefore all data is passed by reference.
#
FuncGodot FaceData
Data struct representing both a single map plane and a mesh face. Initially generated during parsing, reading plane definitions in the map file. Further modified and utilized during the geometry generation stage to populate face vertex, normal, UV, tangent, and index data.
#
Methods
#
Properties
#
FuncGodotBrushData
Data struct representing a single map format brush. It is largely meant as a container for face data.
#
Properties
#
FuncGodotPatchData
Data struct representing a patch mesh entity.
#
Properties
#
FuncGodotGroupData
Data struct representing a TrenchBroom Group, TrenchBroom Layer, or Valve VisGroup. Generated during the parsing stage and utilized during both parsing and entity assembly stages.
#
Properties
| Property | Type | Description |
| Type | GroupType | Defines whether the group is a Group or a Layer. Currently only determines the name of the group.
|
| ID | Int | Group ID retrieved from the map file. Utilized during the parsing and entity assembly stages to determine which entities belong to which groups as well as which groups are children of other groups. |
| Name | String | Generated during the parsing stage using the format of type_id_name, eg: group_2_Arkham. |
| Parent ID | Int | ID of the parent group data, used to determine which group data is this group's parent. |
| Parent | FuncGodotGroupData | Pointer to another group data that this group is a child of. |
| Node | Node3D | Pointer to generated Node3D representing this group in the SceneTree. |
| Omit | Bool | If true, erases all entities assigned to this group and then the group itself at the end of the parsing stage, preventing those entities from being generated into nodes. Can be set in TrenchBroom on layers using the "omit layer" option. |
#
FuncGodotEntityData
Data struct representing a map format entity.