이 모듈을 사용하면 초당 이동 거리로 나타나는 속도에 따라 크기가 변하는 파티클을 만들 수 있습니다.
이 모듈은 Particle System 컴포넌트의 일부입니다. 새로운 파티클 시스템 게임 오브젝트를 생성하거나 Particle System 컴포넌트를 기존의 게임 오브젝트에 추가하는 경우 Unity는 속도별 크기 모듈을 파티클 시스템에 추가합니다. 기본적으로 Unity는 이 모듈을 비활성화합니다. 새로운 파티클 시스템을 생성하고 이 모듈을 활성화하려면 다음 단계를 따르십시오.
이 모듈이 Particle System 컴포넌트의 일부이므로 ParticleSystem 클래스를 통해 액세스합니다. 이 모듈에 액세스하고 런타임 시 값을 변경하는 방법에 대한 내용은 속도별 크기 모듈 API 문서를 참조하십시오.
이 섹션의 일부 프로퍼티에 대해 다른 모드를 사용하여 해당 값을 설정할 수 있습니다. 사용할 수 있는 모드에 대한 정보는 시간 경과에 따른 프로퍼티 다양화를 참조하십시오.
프로퍼티 | 기능 |
---|---|
Separate Axes | 각 축에 대해 파티클 크기를 독립적으로 제어합니다. |
Size | 속도 범위에 따라 파티클의 크기를 정의하는 커브입니다. |
Speed Range | 크기 커브가 매핑되는 속도 범위의 상한 및 하한 값(범위를 벗어나는 속도는 커브의 끝점에 매핑됨)입니다. |
어떤 상황에서는 속도에 따라 크기가 다른 파티클이 필요합니다. 예를 들어 폭발이 일어나면 큰 조각보다는 작은 조각이 더 빠른 속도로 움직일 것을 예상할 수 있습니다. 파티클 크기가 감소하면 속도를 증가시키는 간단한 램프 커브와 함께 Size By Speed 를 사용하여 이와 같은 효과를 낼 수 있습니다. 파티클의 속도가 느려지면서 크기가 변하는 것을 원하지 않는다면 Limit Velocity Over Lifetime 모듈과 함께 사용해서는 안 됩니다.
Speed Range 는 X(너비), Y(높이), Z(뎁스) 모양이 적용되는 값의 범위를 지정합니다. 속도 범위는 크기가 커브 모드 중 하나에 있을 때만 적용됩니다. 빠른 파티클은 커브의 오른쪽 끝에 있는 값을 사용하여 스케일되고 느린 파티클은 커브의 왼쪽에 있는 값을 사용하여 스케일됩니다. 예를 들어 속도 범위를 10에서 100 사이로 지정하면 다음과 같은 상황이 발생합니다.
파티클의 너비, 높이, 뎁스 크기가 속도에 따라 독립적으로 변경되는 방법을 지정할 수 있습니다. Size by Speed 모듈에서 Separate Axes 체크박스를 선택한 다음 파티클의 X(너비), Y(높이), Z(뎁스)가 파티클의 속도에 미치는 영향을 선택합니다. Z는 메시 파티클에만 사용됩니다.
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.