Namespace ValveResourceFormat.ResourceTypes.ModelData ​
Namespaces ​
Classes ​
| Name | Description |
|---|---|
| BodyGroup | A body group: a set of mesh groups the model switches between, recovered from the mesh group names that share a prefix. |
| BodyGroupChoice | One choice of a body group: a mesh group whose name encodes the group it belongs to. |
| BoneRemapTable | Maps the bone indices a mesh's BLENDINDICES carry to bone indices of the model skeleton. Every mesh owns a contiguous slice of one table. |
| EmbeddedSequenceGroup | A model's embedded animation data: the animation and decode blocks, plus the legacy (AG1) sequence group holding the bone masks, morph masks, pose parameters and faceposer folders its sequences are written against. Empty or null throughout for a model that carries none. |
| Hitbox | Represents a hitbox for collision detection in a model. |
| ModelConfig | A named set of elements of a model config list. |
| ModelConfigAppearance | What a model config sets on one model: its material group, color and body groups. |
| ModelConfigAttachedModel | Attaches another model to the one the config is evaluated for. |
| ModelConfigAttachedModelResult | A model a config attaches, and what the config sets on it. |
| ModelConfigElement | What a model config does to the model it is evaluated for, or to the model it attaches. |
| ModelConfigList | The configs of a model: named sets of elements that attach other models to it and set its material group, color and body groups. An entity picks between them with the config_state block of its model_state key, starting from ModelConfigList.SpawnConfigName. |
| ModelConfigRandomPick | Follows a config picked at random, unless the config_state of the entity holds the index of the choice at ModelConfigElement.StateKey. |
| ModelConfigResult | What a model config makes of the model it is evaluated for. |
| ModelConfigSetBodyGroup | Sets the choice of a body group of the model it applies to. |
| ModelConfigSetBodyGroupOnAttachedModels | Sets the choice of a body group of the models attached to the model it applies to. |
| ModelConfigSetMaterialGroup | Sets the material group of the model it applies to. |
| ModelConfigSetMaterialGroupOnAttachedModels | Sets the material group of the models attached to the model it applies to. |
| ModelConfigSetRenderColor | Sets the color of the model it applies to. |
| ModelConfigUnsupportedElement | An element ModelConfigList.Evaluate(string, KVObject?, Random) does not apply, such as a random color or a command. |
| ModelConfigUserPick | Follows the config the entity picks, by the value of ModelConfigElement.StateKey in its config_state, or else the first choice. |
| ModelLodInfo | Describes a model's level-of-detail (LOD) structure: which meshes belong to which LOD level and the per-level switch values. Built once from the compiled model's m_refLODGroupMasks (bit N set => mesh is in LOD level N) and m_lodGroupSwitchDistances. |
| ModelMeshGroups | Describes a model's mesh groups: which groups exist, which meshes belong to each, which are on by default, and which the tools hide. A mesh group mask has bit N set when the mesh is in group N. |
Structs ​
| Name | Description |
|---|---|
| BoneConstraint | A model's authored constraint: drives a bone or morph from the pose of other bones. |
| ModelMesh | One of a model's meshes, embedded in the model itself. |
| ModelMeshReference | A reference from a model to a mesh that lives in its own vmesh, resolved through a file loader. |
Enums ​
| Name | Description |
|---|---|
| Hitbox. | The shape type of the hitbox. |

