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

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

2023-03-19 22:02 作者:Winter惜曦  | 我要投稿
  • 3.2 Renderer Override【渲染器重载】

  • Each renderer shows its' bindings under the 'Bindings' category. Those bindings can even be overridden with custom attributes if desired, so multiple sprite renderers could each be driven by a different size attribute, for example.

    【每个渲染器在捆绑栏中显示了它的捆绑属性。需要时这些属性可以被自定义属性重载,如多个图片渲染器可以使用不同的大小属性】

  • In this case, we make a new Position attribute called RenderOffset, and we add a small offset to the existing particle position, and then we bind that new attribute to the sprite renderer position binding.

    【在此示例中,我们创建了一个新的叫“RenderOffset”位置属性,并添加了一个小偏移到现存的粒子位置,然后把这个新属性捆绑到图片渲染器的位置捆绑中】


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

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