Search Unity

Request for More API Access

Discussion in 'World Building' started by Mortalanimal, Mar 27, 2021.

  1. Mortalanimal

    Mortalanimal

    Joined:
    Jun 7, 2014
    Posts:
    566
    Hi, could you please give up more Access to the terrain Data please!

    "terrainData.treeInstances.color" & "terrainData.treeInstances.lightmapColor", are both vague, what they are actually doing are finding all materials on the tree instances, and setting the color, this is a problem when you end up changing the color of the bark and the leaves. Perhaps one might only want to change the color of the leaves and not the bark?

    Please return an array instead of setting the color to all materials on the tree instance, we need the flexibility.

    for example: terrainData.treeInstances.colors[0].color

    Thank you!
     
  2. Mortalanimal

    Mortalanimal

    Joined:
    Jun 7, 2014
    Posts:
    566
    Am I asking this in the wrong forum?