CMixSubgraphSwitch
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 104 bytes (0x68)Alignment: 8 bytesModule: sounddoc_libBinary: !GlobalTypes
Metadata: MPropertyDescription Allows you to swap between sub-graphs with a short crossfade. Can be used to swap out processing algorithms/configurations, or to dynamically enable/disable optional processing stages. This can also expose control parameters from the subgraphs so those can be connected to the outer graph. MPropertyFriendlyName VMix Subgraph Switch Audio Node
Relationships
Inherits from: CMixPropertyBase
Inheritance tree
CMixPropertyBase
- CMixSubgraphSwitch
Relationship diagram (2 edges)
classDiagram
CMixPropertyBase <|-- CMixSubgraphSwitch
CMixSubgraphSwitch *-- CSelectableSubgraphMemory layout
12 fields, 7 declared here and 5 inherited. Offsets are absolute from the object base on windows-x86_64.
CMixPropertyBaseCMixSubgraphSwitch
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_name | CUtlString | CMixPropertyBase | MPropertyDescription Node name MPropertyFriendlyName Name MPropertySortPriority 1 |
0x10 | m_Comment | CUtlString | CMixPropertyBase | MPropertyDescription Description of how this is used the graph for people reading the graph MPropertySortPriority -2 |
0x18 | m_bActive | bool | CMixPropertyBase | MPropertyHideField MPropertySortPriority -1 |
0x19 | m_bSolo | bool | CMixPropertyBase | MPropertyHideField MPropertySortPriority -1 |
0x1a | m_bEditProperties | bool | CMixPropertyBase | MPropertyHideField MPropertySortPriority -1 |
0x20 | bUseDetailedPlugNames | bool | MPropertyFriendlyName Show Detailed Plug Names | |
0x28 | defaultSubgraph | CSelectableSubgraph | MPropertyFriendlyName Default Subgraph | |
0x40 | interpolationMode | VMixSubgraphSwitchInterpolationType_t | MPropertyFriendlyName Mode MPropertyGroupName +Transition Behavior | |
0x44 | bOnlyTailsOnFadeOut | bool | MPropertyFriendlyName Only Let Effect Ring On Fadeout MPropertyGroupName Transition Behavior | |
0x48 | flTransitionTime | float32 | MPropertyFriendlyName Transition time (seconds) MPropertyGroupName Transition Behavior | |
0x4c | nChannels | int32 | MPropertyAttributeChoiceName processor_channels MPropertyFriendlyName Channels | |
0x50 | subgraphs | CUtlVector< CSelectableSubgraph > |
KV3 class defaults
{
"_class": "CMixSubgraphSwitch",
"m_name": "",
"m_Comment": "",
"m_bActive": true,
"m_bSolo": false,
"m_bEditProperties": false,
"bUseDetailedPlugNames": false,
"defaultSubgraph":
{
"_class": "CSelectableSubgraph",
"file": "soundstacks/subgraph_default.vmix",
"subgraphName": ""
},
"interpolationMode": "SUBGRAPH_INTERPOLATION_TEMPORAL_CROSSFADE",
"bOnlyTailsOnFadeOut": false,
"flTransitionTime": 0.500000,
"nChannels": -1,
"subgraphs":
[
]
}