Search Unity

Question Motion Vector For Vertex Animation access

Discussion in 'Shaders' started by Vifi, Jul 1, 2022.

  1. Vifi

    Vifi

    Joined:
    Aug 5, 2013
    Posts:
    28
    Hi!
    I am writting this tool to manage assets in unity project with their properties exposed.
    I have trouble of finding any property that returns me state of "Motion Vector For Vertex Animation" checkbox.
    Do any of you know how i can access it just to read it?
    Thanks in advance!

    @Edit
    I found out that when i change that checkbox, a "MOTIONVECTORS" pass name is removed from disabled shader passes (in debug inspector).
    Do you think that's a good factor that speaks for Motion Vector for Vertex Animation checkbox?
     
    Last edited: Jul 1, 2022