当前页面 : 首页 > 资讯 > 正文 >

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

来源:哔哩哔哩 时间: 2023-03-19 22:12:31


(相关资料图)

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”位置属性,并添加了一个小偏移到现存的粒子位置,然后把这个新属性捆绑到图片渲染器的位置捆绑中】

关键词:

为您推荐

-