Search Unity

Everyplay.SetMotionFactor?

Discussion in 'Unity Everyplay' started by arikm, Apr 14, 2016.

  1. arikm

    arikm

    Joined:
    Oct 27, 2013
    Posts:
    7
    I couldn't find in the docs or code what this function does?

    Thanks.
     
  2. ullatussimo

    ullatussimo

    Unity Technologies

    Joined:
    Jun 16, 2015
    Posts:
    108
    Hello @arikm ,

    Thanks for reaching out!

    The Everyplay.SetMotionFactor -method affects the bitrate of the recorded video.
    It accepts a value from 1-4 where 4 is the best quality and biggest filesize. The default is two.
    If your game features a lot of high-speed movement, it's recommended to use a higher value, but in most cases the default value should be OK.

    Hope this helps!

    Cheers,
    Simo
     
  3. nbg_yalta

    nbg_yalta

    Joined:
    Oct 3, 2012
    Posts:
    344
    Hi, can you tell a bitrate amount for each value and how does it affect performance?