NoiseModule 的脚本接口。
通过噪声模块可将湍流应用于粒子的移动。使用低品质设置可按计算方式创建高效的噪声,使用更高品质设置模拟更平滑、更丰富的噪声。还可以选择为每个轴单独定义噪声的行为。
另请参阅:ParticleSystem、ParticleSystem.noise。
damping | 较高频率噪声会按比例减小强度(如果启用)。 |
enabled | 指定启用还是禁用 NoiseModule。 |
frequency | 低值会产生柔和、平滑的噪声,而高值会产生快速变化的噪声。 |
octaveCount | 进行合并以生成最终噪声的噪声层。 |
octaveMultiplier | 合并每个八度音阶时,按此量缩放强度。 |
octaveScale | 合并每个八度音阶时,按此量放大。 |
positionAmount | 噪声对粒子位置的影响程度。 |
quality | 生成 1D、2D 或 3D 噪声。 |
remap | 定义如何重新映射噪声值。 |
remapEnabled | 启用最终噪声值的重新映射,从而使噪声值可以转换为不同值。 |
remapMultiplier | 重新映射乘数。 |
remapX | 定义在使用 ParticleSystem.NoiseModule.separateAxes 选项时,如何在 x 轴上重新映射噪声值。 |
remapXMultiplier | x 轴重新映射乘数。 |
remapY | 定义在使用 ParticleSystem.NoiseModule.separateAxes 选项时,如何在 y 轴上重新映射噪声值。 |
remapYMultiplier | y 轴重新映射乘数。 |
remapZ | 定义在使用 ParticleSystem.NoiseModule.separateAxes 选项时,如何在 z 轴上重新映射噪声值。 |
remapZMultiplier | z 轴重新映射乘数。 |
rotationAmount | 噪声对粒子旋转(以度/秒为单位)的影响程度。 |
scrollSpeed | 在粒子系统上滚动噪声贴图。 |
scrollSpeedMultiplier | 滚动速度乘数。 |
separateAxes | 为每个轴单独控制噪声。 |
sizeAmount | 噪声对粒子大小的影响程度(用作每个粒子大小的乘数)。 |
strength | 整体噪声特效的强度。 |
strengthMultiplier | 强度乘数。 |
strengthX | 定义在使用 ParticleSystem.NoiseModule.separateAxes 选项时 x 轴上的效果强度。 |
strengthXMultiplier | x 轴强度乘数。 |
strengthY | 定义在使用 ParticleSystem.NoiseModule.separateAxes 选项时 y 轴上的特效强度。 |
strengthYMultiplier | y 轴强度乘数。 |
strengthZ | 定义在使用 ParticleSystem.NoiseModule.separateAxes 选项时 z 轴上的特效强度。 |
strengthZMultiplier | 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.