Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How do i read/access the blend shapes on a model?

Discussion in 'Scripting' started by Nanako, Feb 28, 2015.

  1. Nanako

    Nanako

    Joined:
    Sep 24, 2014
    Posts:
    1,047
    I'm aware of get/set blendshape weight, which sets or gets a value from a given index. And the blendshapes count, which tells me how many there are. But there seems to be several things missing here:

    1. Where is the list of blend shapes, for me to crawl through?
    2. how do i read the names of blendshapes? that information is shown in the UI
    3. Is there any kind of blendshape object that i can reference?
     
  2. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,676
    Seems like this would be a good subject for a Unity tutorial.
     
  3. Nanako

    Nanako

    Joined:
    Sep 24, 2014
    Posts:
    1,047
    or documentation that isn't incomplete
     
  4. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,676
    Probably the implementation itself is incomplete.

    With any luck you'll get a response from @Mecanim.Dev who is basically the oracle on such things.