Search Unity

Prefab/Model preview rotation

Discussion in 'Editor & General Support' started by TeemuMV, Jan 24, 2018.

  1. TeemuMV

    TeemuMV

    Joined:
    Nov 10, 2017
    Posts:
    19
    Hey,

    I'm building an editor and would like to leverage the Project for model management instead of having to reinvent the wheel and display them manually in the editor's Inspector.

    Is it possible to:

    1) Modify prefab/model/mesh previews' transforms (or camera) in the Project view?
    2) Use a custom image/texture as a preview?

    The default rotation is wonky at best for my use-case. I'd like to be able to see the models straight on instead.

    In the simple example below, the rotation of the preview hides information which would be visible if it were straight on.
    In more complex cases, the models are illegible due to the rotation.

    upload_2018-1-24_14-21-29.png

    Edit:
    I reposted this thread in the seemingly more approppriate Extensions subforum. Feel free to delete this, mods.

    https://forum.unity.com/threads/modifying-asset-preview-in-project.514040/
     
    Last edited: Jan 24, 2018
    jniac likes this.
unityunity