x


line renderer help

is there a way to access the positions array of the line renderer?

more ▼

asked Feb 28 '10 at 02:22 PM

3dDude gravatar image

3dDude
2.6k 66 76 103

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

there is not any method to directly do that. you can add all of vertex positions to an array and then use that array to set positions in LineRenderer so you can use the array to get positions. also you can create a new component as the child of LineRenderer and add the feature that you want using a private array and new SetPosition and GetPosition methods.

more ▼

answered Feb 28 '10 at 02:32 PM

Ashkan_gc gravatar image

Ashkan_gc
9.3k 33 56 120

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x110

asked: Feb 28 '10 at 02:22 PM

Seen: 1867 times

Last Updated: Feb 28 '10 at 02:22 PM