Search Unity

Resolved HDRP area tube light

Discussion in 'Scripting' started by GodsKnight117, May 13, 2020.

  1. GodsKnight117

    GodsKnight117

    Joined:
    Mar 13, 2018
    Posts:
    43
    I it possible to change the length of a tube light in script
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
  3. GodsKnight117

    GodsKnight117

    Joined:
    Mar 13, 2018
    Posts:
    43
  4. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    GodsKnight117 likes this.
  5. GodsKnight117

    GodsKnight117

    Joined:
    Mar 13, 2018
    Posts:
    43
  6. GodsKnight117

    GodsKnight117

    Joined:
    Mar 13, 2018
    Posts:
    43
  7. GodsKnight117

    GodsKnight117

    Joined:
    Mar 13, 2018
    Posts:
    43
  8. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    Haha awesome! Looks like a lightsaber.
     
  9. GodsKnight117

    GodsKnight117

    Joined:
    Mar 13, 2018
    Posts:
    43
    Yea I think I need to edit the intensity of that light. thanks again.
     
  10. Klausbdl

    Klausbdl

    Joined:
    Aug 12, 2013
    Posts:
    65
    Can you share the line of code to change the length? I cant acess any "shapeWidth" in my tube light