void GenerateSnapshot | ( | Quaternion | rotation, |
Vector2 | size, | ||
ref Texture2D | snapShot | ||
) |
rotation | Rotation that is applied to the previewObject. |
size | This is the size, in pixels, that the resultant image will be. |
snapShot | Texture2D that will contain the snapshot after it has been generated |