UE5.1_Niagara基礎(chǔ)_官方內(nèi)容示例_1.4
1.4 Sprite Facing【圖片面向】
Particles.SpriteFacing is the vector variable which controls which direction a particle faces. Here we create a vector between the particle and the center of the sphere, and orient it to that vector.
Particles.SpriteFacing and Particles.SpriteAlignment are both worldspace vectors regardless of the simulation coordinate space, so the Sprite Facing and Alignment module transforms them automatically, if desired.
【粒子.圖片面向是控制粒子面向的向量變量。在這里我們創(chuàng)建了一個(gè)由粒子到球形中心點(diǎn)的向量,并作為粒子面向向量】
【不管模擬坐標(biāo)空間是哪個(gè),粒子.圖片面向和粒子.圖片對(duì)齊都是世界坐標(biāo)空間向量,所以當(dāng)需要時(shí)圖片面向和對(duì)齊模組會(huì)自動(dòng)轉(zhuǎn)換坐標(biāo)空間】
Particles.SpriteFacing is not the only Renderer Binding which is handled automatically by the simulation and has special meaning. Click a renderer, in this case the Sprite Renderer at the bottom of the stack, and scroll down to "Bindings"
You will see a list of particle attributes which have special meaning to the renderers which reference them. Each can be overwritten with other attributes if desired.
【粒子.圖片面向不是唯一的模擬時(shí)會(huì)自動(dòng)處理并有特殊意義的渲染器捆綁屬性。點(diǎn)擊一個(gè)渲染器模組,在其下方可看到捆綁一欄】
【你將看到一列渲染器會(huì)引用的有特殊意義的粒子屬性。需要時(shí)每個(gè)捆綁屬性都可以被重載】
Sprite Renderer【圖片渲染器】
Alignment【對(duì)齊】:圖片平面向上坐標(biāo)向指定方向看齊
? Unaligned【不對(duì)齊】
? Velocity Aligned【對(duì)齊速度方向】
? Custom Alignment【自定義對(duì)齊】:選擇此項(xiàng)后,Sprite Facing and Alignment模組中的對(duì)齊設(shè)置才生效
Facing Mode【面向模式】
? Face Camera【面向攝像機(jī)】:圖片原點(diǎn)看向攝像機(jī)原點(diǎn),且向上軸與攝像機(jī)向上周對(duì)齊
? Face Camera Plane【面向攝像機(jī)平面】:圖片與攝像機(jī)鏡面平行
? Custom Facing Vector【自定義面向向量】:選擇此項(xiàng)后,Sprite Facing and Alignment模組中的對(duì)齊設(shè)置才生效
? Face Camera Position【面向攝像機(jī)位置】:圖片原點(diǎn)看向攝像機(jī)原點(diǎn),但向上軸不變
? Face Camera Distance Blend【面向攝像機(jī)距離混合】:混合Face Camera和Face Camera Position模式
Sprite Facing and Alignment【圖片面向和對(duì)齊】模組
Sprite Facing【圖片面向】
Facing Coordinate Space【面向坐標(biāo)空間】
Sprite Alignment【圖片對(duì)齊】
? Alignment Coordinate Space【對(duì)齊坐標(biāo)空間】
Vortex Velocity【漩渦速度】模組:添加一個(gè)繞點(diǎn)進(jìn)行圓周旋轉(zhuǎn)的速度
Velocity Amount【速度大小】
Vortex Axis【漩渦軸】:確定漩渦速度的具體方向
Vortex Origin【漩渦中心點(diǎn)】
Vortex Axis Coordinate Space【漩渦軸坐標(biāo)空間】
Influence Falloff Exponent【影響衰減指數(shù)】
Influence Falloff Radius【影響衰減半徑】
Invert Influence Falloff【反轉(zhuǎn)影響衰減】:True時(shí)半徑處速度為0,F(xiàn)alse時(shí)漩渦中心速度為0