欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

UE4蓝图API翻译【节点】--- Get All Actors with Tag

发布时间:2023/12/18 编程问答 36 豆豆
生活随笔 收集整理的这篇文章主要介绍了 UE4蓝图API翻译【节点】--- Get All Actors with Tag 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

翻译人:灵月散人
参考的引擎版本:4.18.3
翻译内容仅作临时参考,目的是为了降低无基础者初期的学习门槛。
所以当书写、交流、等实际使用时切记: 须以英文为准


官网地址Get All Actors with Tag
翻译获得所有带指定标签的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.输入

参数名数据类型注解
TagNameTag to find. Must be specified or result array will be empty.
标签【名称】类型Tag用于查找。必须指定,否则返回的数组将为空。

2.输出

参数名数据类型注解
Out ActorsArray of Actor Object ReferencesOutput 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的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。