Search Unity

Feedback Documentation Request: order of blends

Discussion in 'Cinemachine' started by Baste, May 25, 2020.

  1. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,332
    Hi!

    I was looking at the list of blends, and was wondering about how the ordering is resolved. Is it top-to-bottom, or more-specific to less specific?

    Meaning that if I have a blend defined from **ANY CAMERA** to Foo, and then lower in the list I have a blend defined from Bar to Foo, will the first one be active because it's higher up, or will the second one be active because it's more specific?

    I know I can check (and I will), but this should for sure be mentioned on this page: https://docs.unity3d.com/Packages/com.unity.cinemachine@2.6/manual/CinemachineBlending.html
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    Thanks for the feedback. The documentation has been updated (although it may take a while to be uploaded to the web page).

    To answer your question: if multiple entries apply to an upcoming blend, then the one with the greatest specificity will prevail. If there are multiple such entries, then the first one found will prevail.
     
    Baste likes this.