Hi
I wanted to have custom preview of the global sources. For that, I've modified/implemented :
void GlobalSource::Tick(float fSeconds) {
....
}
I want to save a BMP/JPG of the global source each second, so far I've only managed to create an empty file at the data directory with the name of the source.
How can I access the latest frame?
I've tried globalSource->GetMatrix("??", myFrame);
but I wasn't able to receive any data.
thanks in advance.
I wanted to have custom preview of the global sources. For that, I've modified/implemented :
void GlobalSource::Tick(float fSeconds) {
....
}
I want to save a BMP/JPG of the global source each second, so far I've only managed to create an empty file at the data directory with the name of the source.
How can I access the latest frame?
I've tried globalSource->GetMatrix("??", myFrame);
but I wasn't able to receive any data.
thanks in advance.