Search Unity

Question How to set compound property using c#

Discussion in 'Visual Effect Graph' started by Aditrc, Nov 7, 2022.

  1. Aditrc

    Aditrc

    Joined:
    Dec 15, 2018
    Posts:
    15
    upload_2022-11-7_16-6-47.png

    Apis only have basic types

    upload_2022-11-7_16-8-1.png
     
  2. PaulDemeulenaere

    PaulDemeulenaere

    Unity Technologies

    Joined:
    Sep 29, 2016
    Posts:
    154
    Hello,
    The exposed properties using a type based on a structure like Line are split in several individual entries, in your case, there will be two Vector3:
    - Line_start
    - Line_end
    See also this post for more details