이 모듈을 사용하여 일정 비율의 파티클에 트레일을 추가할 수 있습니다. 이 모듈은 Trail Renderer 컴포넌트와 많은 프로퍼티를 공유하지만 트레일을 파티클에 쉽게 연결하고 파티클의 다양한 프로퍼티를 상속할 수 있는 기능을 제공합니다. 트레일은 탄환, 연기, 마법 주문과 같은 다양한 효과에 유용합니다.
프로퍼티: | 기능: |
---|---|
Ratio | 트레일이 할당된 파티클의 비율을 정의하는 0과 1 사이의 값입니다. 트레일은 무작위로 할당되므로 이 값은 확률을 나타냅니다. |
Lifetime | 잔상이 속한 파티클의 수명에 곱하는 수로, 이 값으로 잔상으로 나타나는 각 버텍스의 수명을 설정합니다. 새 버텍스가 트레일에 추가되면 파티클의 전체 수명보다 더 오래 존재한 후 사라집니다. |
Minimum Vertex Distance | 트레일에 새로운 버텍스가 추가되기까지 파티클이 이동해야 하는 거리를 정의합니다. |
Texture Mode | 트레일에 적용된 텍스처가 전체 길이에 맞춰 늘어나는지 아니면 N 단위의 거리마다 텍스처가 반복되는지 선택합니다. 반복률은 Material 의 Tiling 파라미터를 기준으로 조절됩니다. |
World Space | 활성화하면 Local Simulation Space 를 사용하는 경우에도 잔상 버텍스가 파티클 시스템의 게임 오브젝트를 따라 상대적으로 이동하지 않습니다. 잔상 버텍스는 월드 공간에 놓여지고 파티클 시스템의 이동을 무시합니다. |
Die With Particles | 활성화하면(박스에 체크 표시) 파티클이 사라지는 즉시 트레일이 사라집니다. 활성화하지 않으면(박스에 체크 표시 해제) 남은 트레일은 남은 수명에 따라 자연스럽게 사라집니다. |
Size affects Width | 활성화하면(체크박스 선택) 잔상 너비에 파티클 크기를 곱합니다. |
Size affects Lifetime | 활성화하면(체크박스 선택) 잔상 수명에 파티클 크기를 곱합니다. |
Inherit Particle Color | 활성화하면(체크박스 선택) 잔상 색상이 파티클 색상으로 조절됩니다. |
Color over Lifetime | 잔상이 추가된 파티클의 수명에 따라 전체 잔상의 색상을 제어하는 커브입니다. |
Width over Trail | 잔상의 너비를 길이에 따라 제어하는 커브입니다. |
Color over Trail | 잔상의 컬러를 길이에 따라 제어하는 커브입니다. |
Generate Lighting Data | 활성화하면(박스에 체크 표시) 노멀 및 탄젠트를 포함하여 트레일 지오메트리가 구축됩니다. 그러면 스탠다드 셰이더 또는 커스텀 셰이더 등을 통해 씬 조명을 사용하는 머티리얼을 사용할 수 있습니다. |
2017–05–31 편집 리뷰를 거쳐 페이지 수정됨
Unity 2017.1에서 Size affects Width, Size affects Lifetime, Color over Lifetime, Width over Trail, Color over Trail, Generate Lighting Data 추가됨NewIn20171
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.