国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

UE5.1_Niagara基礎_官方內(nèi)容示例_2.4

2023-03-09 19:44 作者:Winter惜曦  | 我要投稿
  • 2.4 Location Events【位置事件】

  • Currently, Events are CPU Emitter Only!

    【目前,事件只能在CPU發(fā)射器運行】

  • On GPU Emitters, we do have a Lead/Follower paradigm using the "Spawn Particles From Other Emitter" and "Sample Particles From Other Emitter" modules which utilize the Particle Attribute Reader. There is an example of these behaviors in action in the Niagara_Advanced hallway.

    【在GPU發(fā)射器中,我們確實有個的引領/跟隨者范例在使用“從其他發(fā)射器生成粒子”和“從其他發(fā)射器取樣粒子”模組,而這些模組使用了粒子屬性渲染。這是在高級示例地圖中運轉的例子】

  • Event Generators such as "Generate Location Event" live in particle scripts. Typically we default to sending a location event after the solver runs for the most accuracy, but the module can be moved wherever you like to determine when the event is sent.

    We default the "Send Rate" to a sensible number of events per second, but that value can be lowered to throttle the rate at which events are sent. This will act as an optimization. Unchecking the bool next to "Event Send Rate" causes events to be sent every frame.

    【事件生成器如“生成位置事件”存在于粒子腳本中。通常我們默認會在結算器運行后發(fā)送位置事件以獲得最高的精確性,但模組可以被移動到你喜歡的事件發(fā)送點】

    【我們默認事件每秒的“發(fā)送速率”為一個合理的數(shù)字,但這數(shù)值可以調(diào)低。這會以最優(yōu)化的方式運行。取消勾選“事件發(fā)送速率”的下一個布爾框會使事件每幀都發(fā)送(UE5.1中:在Event Type中選擇Every Frame為每幀發(fā)送)】

  • Generate Location Event also has a bool called "Event Generation Enabled" which determines whether events are sent at all. This bool can be driven by whatever logic you like, for instance only true if the particle age is over a certain value.

    【生成位置事件也有個叫“事件生成啟動”的布爾值決定是否發(fā)送事件。這個布爾可以被你喜歡的邏輯驅(qū)動,如粒子壽命超過某一值時才為真】

  • Event Receivers require an additional script inside them called an "Event Handler". You can think of this as another script, like particle spawn or update, which runs after the event is received. This needs to include a "Receive X Event" Module? to handle the event, and then other modules can be placed inside to have additional effect on the particles which receive events, for example an additional location module to provide an additional offset from the received event position.

    【事件接收者需要一個額外的腳本叫“事件處理器”。你可以把它認為是另一個腳本,像粒子生成和更新,它是在收到事件時運行。這需要包含一個“接收X事件”模組來處理事件,然后其他模組可以放到里面來對收到事件的粒子產(chǎn)生額外影響,如一個額外位置模組來給收到的事件位置提供一個額外的偏移】

  • Properties(Emitter)

    Requires Persistent IDs【需要永久ID】:給粒子創(chuàng)建一個永久ID,生成事件的發(fā)射器需要啟用此選項。

  • Gravity Force【重力】模組:給粒子添加重力

  • Generate Location Event【生成位置事件】模組:生成一個事件,包含發(fā)出此事件的粒子的許多參數(shù)。

    Event Type【事件類型】

    Send Rate【發(fā)送速率】:按照設置的發(fā)送速率發(fā)送事件。

    Send Per Unit Traveled【按經(jīng)過單位發(fā)送】:粒子經(jīng)過設置的單位間隔時發(fā)送事件。

    Every Frame【每幀】:每幀都發(fā)送事件。

    (僅Send Rate)Event Send Rate【事件發(fā)送速率】

    (僅Send Per Unit Traveled)Unit Spacing【單位間隔】

    (僅Send Per Unit Traveled)Movement Tolerance【移動誤差】

    Event Generation Enabled【啟動事件生成】

    Event Probability【事件發(fā)送的概率】

    Delay Before Sending Everys【延遲發(fā)送事件】:延遲多少秒才開始發(fā)送事件

    點擊下箭頭Show Advanced【顯示高級】查看和修改發(fā)送的粒子參數(shù)。

    點擊發(fā)射器屬性一欄的“+Stage”添加“Event Handler”

  • Event Handler Properties【事件處理器屬性】

    Source【來源】:選擇接收來自哪個發(fā)射器的哪個事件

    Execution Mode【執(zhí)行模式】:選擇哪些粒子運行一次事件腳本。事件腳本由事件處理器里的模組組成。運行位置在粒子生成階段之后

    Every Particle【所有粒子】:此發(fā)射器存在的所有粒子

    Spawned Particles【生成的粒子】:由當前事件生成的粒子

    Max Events Per Frame【每幀最大事件數(shù)】:0為不限

    Spawn Number【生成數(shù)量】:控制事件處理結果是否生成粒子

    Random Spawn Number【隨機生成數(shù)量】:為True時,上面設置的生成數(shù)量為最大隨機數(shù)

    Update Attribute Initial Values【更新屬性初始值】:事件生成腳本是否修改粒子屬性的初始值

    Receive Location Event【接收位置事件】模組:設置是否將接收到的參數(shù)寫進粒子屬性中


  • (此專欄為視頻對應的文本知識,詳細內(nèi)容講解請看對應視頻,有疑問請到對應視頻下方評論區(qū)尋找答案,無法找到答案時再在該評論區(qū)提出問題,勿在此專欄下方的評論區(qū)提出問題)


UE5.1_Niagara基礎_官方內(nèi)容示例_2.4的評論 (共 條)

分享到微博請遵守國家法律
中宁县| 萍乡市| 年辖:市辖区| 湖州市| 亳州市| 万年县| 理塘县| 靖边县| 当阳市| 庐江县| 仙游县| 建阳市| 安徽省| 双辽市| 镇江市| 新沂市| 本溪市| 乐东| 西乡县| 镇雄县| 灵山县| 五河县| 黑河市| 宜州市| 南通市| 五峰| 桃源县| 莲花县| 阜平县| 同心县| 兴化市| 镇宁| 望城县| 唐山市| 石棉县| 荥阳市| 青海省| 德令哈市| 横峰县| 浦城县| 柞水县|