Search Unity

Feature Request Support for Mathematics package

Discussion in 'UIElements' started by Sylmerria, Jun 14, 2019.

  1. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    237
    Hi team,

    Do you have plans ( I image yes ) for support float2/3/4, int2/3/4, etc ...

    And have you a version targeted, 19.3 ?

    Thanks
     
    Last edited: Jun 14, 2019
  2. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    101
    Hello,

    Can you clarify what you mean by "support float2/3/4, int2/3/4" ?

    Thanks
     
  3. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    237
    I mean add binding controllers for all int and float variations like describe here
     
    Last edited: Jun 15, 2019
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    5,385
    DOTS uses int and floats as vectors, in their math package. Also the link I to your disk directory.
     
  5. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    237
    You mean Unity use Vector3 for float3 and Vector3Int for int3 ? oh I see

    Indeed, fixed
     
  6. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    101
    Hello,

    Right now the solution for this is to use Vector3Field or Vector2Field and perform a conversion from/to the Mathematics types. It is not perfect as it does not support data binding so I'm taking not of this request as will keep it in mind as the DOTS Editor story evolves.

    Thanks.