欢迎光临散文网 会员登陆 & 注册

UE5.1_Niagara基础_官方内容示例_3.1

2023-03-17 17:23 作者:Winter惜曦  | 我要投稿
  • 3.1 Static Mesh Sampling【静态网格体采样】

  • Click the eyeball next to the stack search at the top of the module stack to show parameter writes, and each module will then show which values they output, both as particle attributes and as transient outputs. Here we have access to the position, normal, tangent, UV, color, and more.

    Attrributes in the Output namespace are transient, and thus not written to the payload, which means they don't cross stack boundaries.

    A transient Output in Particle Spawn cannot be accessed in Particle Update, and does not persist from frame to frame.

    【点击模组堆叠顶部的堆叠搜索的右边的眼球(View Options)来显示参数写入,每个模组就会显示它们输出哪些数值,包括粒子属性和临时输出。在这里我们使用了位置,法线,切线,纹理,颜色,等等】

    【命名空间为输出的属性是临时变量,所以没有写到负载中,也就意味着不能穿过堆叠边界】

    【一个在粒子生成的临时输出不能在粒子更新中被访问,且不能保存到下一帧】

  • Static Mesh Location【静态网格体位置】模组

    Static Mesh【静态网格体】

    Source Mode【来源模式】:选择优先使用哪里设置的静态网格体

    Default【默认】:明确规定的“Source”→附属的演员或组件的“Static Mesh Component”→“Source Actor”→“Default Mesh”

    Source【来源】:只使用“Source”

    Attach【附属】:只使用附属的演员或组件的“Static Mesh Component”

    Default Mesh Only:只使用“Default Mesh”

    Preview Mesh【预览网格体】:仅预览时显示的网格体

    Default Mesh【默认网格体】

    Source Actor【来源演员】:仅为用户参数时可设置

    Mesh Sampling Type【网格体采样类型】

    Triangles【三角形】

    Socket【插槽】

    Vertices【顶点】

    Triangle Sampling Mode【三角面采样模式】

    Random(All Triangles) 【随机(所有三角面)】:在所有三角面中随机采样

    Position Sampling【位置采样】

    Apply(Rigid)【应用(硬性的)】:将采样得到的位置直接设为粒子位置

    Apply(Soft)【应用(柔和的)】

    Output【输出】:输出采样得到的位置,但不设为粒子位置

    Sampled position Offset【采样位置偏移】

    Offset Position Along Sampled Normal【沿采样法线偏移位置】

    Write To Particle Position【写进粒子位置】

    (仅Apply(Soft))Initialize Particle Position To Sample Position【初始化粒子位置为采样位置】

    Velocity Sampling【速度采样】

    Apply【应用】:采样速度并应用到粒子速度中

    Output【输出】

    Sampled Velocity Coordinate Space【采样速度坐标空间】

    (仅Apply)Inherit Velocity(Scale)【继承速度(缩放)】

    (仅Apply)Inherited Velocity Speed Limit【继承的速度速率限制】

    Orientation Sampling【朝向采样】

    Apply【应用】:将采样的插槽/网格体朝向应用到粒子的网格体朝向中

    Output【输出】

    Vertex Color Sampling【顶点颜色采样】

    Apply【应用】:将采样的顶点颜色应用到粒子颜色中

    Output【输出】

    RGBA Color Application Mask【颜色应用遮罩】

    Use Sampled Mesh Attributes as Ribbon ID【使用采样网格体属性作为条带ID】:将网格体的属性(插槽ID、顶点ID、或三角ID)设置条带ID


  • (此专栏为视频对应的文本知识,详细内容讲解请看对应视频,有疑问请到对应视频下方评论区寻找答案,无法找到答案时再在该评论区提出问题,勿在此专栏下方的评论区提出问题)


UE5.1_Niagara基础_官方内容示例_3.1的评论 (共 条)

分享到微博请遵守国家法律