Property | Type | Description | |
---|---|---|---|
fileIndex | int | ||
preferredImageFormat | string | ||
shaderCam | Camera | ||
targetCam | Camera | ||
testImage |
Method | Description | |
---|---|---|
CaptureCoroutine ( ) : IEnumerator | ||
RequestCaptures ( CaptureRequest newRequest ) : void | ||
SaveOutImages ( byte imageData, int shaderIndex ) : string | ||
SaveOutImages ( CaptureRequest completedRequest ) : void |
Method | Description | |
---|---|---|
EncodeBMP ( CapturedImage &imgData, |
||
OnDisable ( ) : void | ||
ProcessCaptureRequest ( CaptureRequest request ) : void | ||
Start ( ) : void | ||
TakeSnapshotNow ( Shader targetShader ) : CapturedImage | ||
TakeSnapshotNow ( Shader targetShader, string outputFormat = "use_preferred_output_format" ) : CapturedImage | ||
Update ( ) : void | ||
UpdateBMPHeader ( |
public RequestCaptures ( CaptureRequest newRequest ) : void | ||
newRequest | CaptureRequest | |
return | void |
public static SaveOutImages ( byte imageData, int shaderIndex ) : string | ||
imageData | byte | |
shaderIndex | int | |
return | string |
public static SaveOutImages ( CaptureRequest completedRequest ) : void | ||
completedRequest | CaptureRequest | |
return | void |
public static string preferredImageFormat | ||
return | string |