Class VMixGraphExtract
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
Decompiles VMix mix graphs, and sounds compiled from them, to the vmixtool source format.
public sealed class VMixGraphExtractInheritance
object ← VMixGraphExtract
Remarks
The editor nodes are rebuilt from the compiled command list of each graph: every node compiles to a recognisable run of commands, and the debug names and meters the compiler keeps name most of them.
Constructors
VMixGraphExtract(Resource, IFileLoader?)
Initializes a new instance of the VMixGraphExtract class.
public VMixGraphExtract(Resource resource, IFileLoader? fileLoader = null)Parameters
resource Resource
A VMix resource, or a sound whose container is a mix graph.
fileLoader IFileLoader?
Loads the other graphs of the folder, which graphs in their own files inline as subgraphs. Without it, subgraphs are only found among the graphs of the same file.
Properties
Warnings
Gets the warnings about compiled data that has no exact editor equivalent, from the last decompile.
public IReadOnlyList<string> Warnings { get; }Property Value
IReadOnlyList<string>
Methods
GetGraphSound(Resource)
Gets the sound container of a sound that is compiled from a mix graph, or null when it is not one.
public static KVObject? GetGraphSound(Resource resource)Parameters
resource Resource
Returns
KVObject?
ToContentFile()
Converts the mix graphs to a vmix content file.
public ContentFile ToContentFile()Returns
ToEditorDocument()
Builds the vmix source document.
public string ToEditorDocument()Returns
string

