UE4蓝图API翻译【节点】--- Get All Actors with Tag
生活随笔
收集整理的這篇文章主要介紹了
UE4蓝图API翻译【节点】--- Get All Actors with Tag
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
翻譯人:靈月散人
參考的引擎版本:4.18.3
翻譯內容僅作臨時參考,目的是為了降低無基礎者初期的學習門檻。
所以當書寫、交流、等實際使用時切記: 須以英文為準
| 翻譯 | 獲得所有帶指定標簽的Actor |
注解
Find all Actors in the world with the specified tag. This is a slow operation, use with caution e.g. do not use every frame.
在世界中的查找所有帶指定標簽的Actor。這也是個緩慢的運算,請謹慎使用!
Target is Gameplay Statics
目標 Gameplay Statics
目錄樹:
- 根目錄
- Utilities(工具)
1.輸入
| Tag | Name | Tag to find. Must be specified or result array will be empty. |
| 標簽 | 【名稱】類型 | Tag用于查找。必須指定,否則返回的數組將為空。 |
2.輸出
| Out Actors | Array of Actor Object References | Output array of Actors of the specified tag. |
| 輸出數組 | 【Actor數組】類型的實例對象 | 輸出指定標簽的Actor數組 |
代碼
Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction_22"FunctionReference=(MemberParent=Class'"/Script/Engine.GameplayStatics"',MemberName="GetAllActorsWithTag")NodePosX=-272NodePosY=784NodeGuid=87E13E414AAB18319077A2B66E7AC4A6CustomProperties Pin (PinId=B8466C7D4281CFA9EAF147A6343C3F6B,PinName="execute",PinToolTip="\nExec",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)CustomProperties Pin (PinId=0BC1BE9B4421F528C9C6CFADEDC0DE29,PinName="then",PinToolTip="\nExec",Direction="EGPD_Output",PinType.PinCategory="exec",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)CustomProperties Pin (PinId=F6F06CBE40B4457FA0E0C1838F0A1818,PinName="self",PinFriendlyName=NSLOCTEXT("K2Node", "Target", "Target"),PinToolTip="目標\nGameplay Statics Object Reference",PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.GameplayStatics"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,DefaultObject="/Script/Engine.Default__GameplayStatics",PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)CustomProperties Pin (PinId=616139AC49F8596238B20390D5E069B1,PinName="WorldContextObject",PinToolTip="World Context Object\nObject Object Reference",PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/CoreUObject.Object"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=True,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=True,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)CustomProperties Pin (PinId=31D4BF394B82C7273A86E68F2799D411,PinName="Tag",PinToolTip="Tag\n名稱\n\nTag to find. Must be specified or result array will be empty.",PinType.PinCategory="name",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,DefaultValue="None",AutogeneratedDefaultValue="None",PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)CustomProperties Pin (PinId=EFD542B84AE2F7C3AC54329E2236959D,PinName="OutActors",PinToolTip="Out Actors\nActor Object Reference數組\n\nOutput array of Actors of the specified tag.",Direction="EGPD_Output",PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.Actor"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=Array,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,) End Object總結
以上是生活随笔為你收集整理的UE4蓝图API翻译【节点】--- Get All Actors with Tag的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Google推出网页加速工具 - Pag
- 下一篇: Actors编程模型