void GenerateSnapshot | ( | Quaternion | rotation, |
Vector2 | size, | ||
ref RenderTexture | snapShot | ||
) |
rotation | Rotation that is applied to the previewObject. This value is assigned via user input, as users drag the mouse around on the preview. |
size | This is the size, in pixels, that the resultant image will be. If the provided RenderTexture is NOT this size, it will be destroyed, and a new one, or the correct size, will be created. |
snapShot | RenderTexture that will contain the snapshot after it has been generated |
Referenced by EditorWithPreview< Mesh >.GenerateSnapshot(), EditorWithPreview< Mesh >.OnEnable(), EditorWithPreview< Mesh >.OnPreviewGUI(), EditorWithPreview< Mesh >.ProjectItemOnGUI(), and EditorWithPreview< Mesh >.RenderStaticPreview().