Search Unity

ComputeScaledMesh performance

Discussion in 'iOS and tvOS' started by Thunder0ne, Feb 27, 2010.

  1. Thunder0ne

    Thunder0ne

    Joined:
    Mar 8, 2009
    Posts:
    23
    Hi all,
    I am experiencing some performance problems and I have started to check them with unity 2.6 profiler.
    Actually, as soon as possible, I will of course use the iPhone profiler, but I was wondering if and how I can reduce the impact of the call:
    Code (csharp):
    1. MeshRenderer.ComputeScaledMesh
    Is this caused just by scale factors set in the unity scene editor?
    Will I lower its impact if I pre-scale meshes in import settings?

    Many thanks.
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Up to a given degree. don't forget that changes to the scale affect all child transforms and require them to update their data on each transform update again