public ScreenCaptureSnapshot(string[] camNames, byte[][] camRenders, Rect[] camRects, Camera mainCam, int screenWidth, int screenHeight) { this.screenWidth = screenWidth; this.screenHeight = screenHeight; this.camNames = camNames; this.camRenders = camRenders; this.camRects = camRects; if(mainCam != null) { this.mainCamLocalRotation = mainCam.transform.localEulerAngles; this.mainCamWorldRotation = mainCam.transform.eulerAngles; } this.inputAcceleration = Input.acceleration; }
public SBounds(SVector3 center, SVector3 extents) { this.center = center; this.extents = extents; }