◆ GenerateSnapshot() [1/2]

void GenerateSnapshot ( Quaternion  rotation,
Vector2  size,
ref RenderTexture  snapShot 
)
Parameters
rotationRotation that is applied to the previewObject. This value is assigned via user input, as users drag the mouse around on the preview.
sizeThis 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.
snapShotRenderTexture 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().

+ Here is the caller graph for this function: