Skip to content

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
Relationship diagram (2 edges)
classDiagram
    CMixPropertyBase <|-- CMixSubgraphSwitch
    CMixSubgraphSwitch *-- CSelectableSubgraph
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

12 fields, 7 declared here and 5 inherited. Offsets are absolute from the object base on windows-x86_64.

CMixPropertyBaseCMixSubgraphSwitch

OffsetFieldTypeFromAnnotations
0x8m_nameCUtlStringCMixPropertyBaseMPropertyDescription Node name MPropertyFriendlyName Name MPropertySortPriority 1
0x10m_CommentCUtlStringCMixPropertyBaseMPropertyDescription Description of how this is used the graph for people reading the graph MPropertySortPriority -2
0x18m_bActiveboolCMixPropertyBaseMPropertyHideField MPropertySortPriority -1
0x19m_bSoloboolCMixPropertyBaseMPropertyHideField MPropertySortPriority -1
0x1am_bEditPropertiesboolCMixPropertyBaseMPropertyHideField MPropertySortPriority -1
0x20bUseDetailedPlugNamesboolMPropertyFriendlyName Show Detailed Plug Names
0x28defaultSubgraphCSelectableSubgraphMPropertyFriendlyName Default Subgraph
0x40interpolationModeVMixSubgraphSwitchInterpolationType_tMPropertyFriendlyName Mode MPropertyGroupName +Transition Behavior
0x44bOnlyTailsOnFadeOutboolMPropertyFriendlyName Only Let Effect Ring On Fadeout MPropertyGroupName Transition Behavior
0x48flTransitionTimefloat32MPropertyFriendlyName Transition time (seconds) MPropertyGroupName Transition Behavior
0x4cnChannelsint32MPropertyAttributeChoiceName processor_channels MPropertyFriendlyName Channels
0x50subgraphsCUtlVector< 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":
	[
	]
}