AcTools.Processes.Showroom.ShotAll C# (CSharp) Method

ShotAll() private method

private ShotAll ( string acRoot, string carName, string showroomName, string cameraPosition, string cameraLookAt, double cameraFov, string filter, bool disableSweetFx ) : string
acRoot string
carName string
showroomName string
cameraPosition string
cameraLookAt string
cameraFov double
filter string
disableSweetFx bool
return string
        public static string ShotAll(string acRoot, string carName, string showroomName, string cameraPosition, string cameraLookAt, double cameraFov,
                string filter, bool disableSweetFx) {
            var s = new KunosShotter {
                AcRoot = acRoot,
                CarId = carName,
                ShowroomId = showroomName,
                UseBmp = true,
                DisableWatermark = true,
                DisableSweetFx = disableSweetFx,
                Filter = filter
            };

            s.SetCamera(cameraPosition, cameraLookAt, cameraFov, 0d);

            try {
                s.ShotAll();
                return s.OutputDirectory;
            } finally {
                s.Dispose();
            }
        }