virtucamera.VCBase - shycats/PyVirtuCamera GitHub Wiki

class virtucamera.VCBase

Abstract base class that must be overloaded to implement most of its methods, where each method is dedicated to set or get some specific data related to the scene, the cameras, viewport capturing, server feedback, and custom script calling.

As a recommendation, you can copy the class definition from vc_base.py and paste it in your own file to start overloading it, each method is documented there. Then don't forget to make it inherit from virtucamera.VCBase

Methods in this class will be called asyncronously from virtucamera.VCServer as needed.

All methods will always receive the instance of virtucamera.VCServer that is calling them as the second argument, vcserver, that can be used to access the server API as needed.