UE4蓝图节点翻译---Get Components by Class

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


官网地址Get Components by Class
翻译通过类获得组件

注解

Gets all the components that inherit from the given class.
获取所有继承自给定类的组件
Currently returns an array of UActorComponent which must be cast to the correct type.
通常返回值“Actor组件数组” 一定会转换成正确的数据类型

Target is Actor
目标是Actor


目录树:


这里写图片描述


1.输入

参数名数据类型
TargetActor Object Reference
目标引用‘Actor’类型的实例对象
Component ClassActor Component Class Reference
组件类引用‘Actor组件’类型的类

2.输出

参数名数据类型注解
Return ValueArray of Actor Component Object References
返回值数组为‘Actor组件’类型的实例对象引用

Begin Object Class=/Script/BlueprintGraph.K2Node_CallFunction Name="K2Node_CallFunction_0"
   bIsPureFunc=True
   bIsConstFunc=True
   FunctionReference=(MemberName="GetComponentsByClass",bSelfContext=True)
   NodePosX=784
   NodePosY=400
   NodeGuid=71B506D34D534BB0F55FF5B9B9993206
   CustomProperties Pin (PinId=1DD415194D9618191134F89D833BCCA7,PinName="self",PinFriendlyName=NSLOCTEXT("K2Node", "Target", "Target"),PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.Actor"',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=57BD07C048A36DABAF65478B066DF23F,PinName="ComponentClass",PinType.PinCategory="class",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.ActorComponent"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,DefaultValue="ActorComponent",AutogeneratedDefaultValue="ActorComponent",PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
   CustomProperties Pin (PinId=3E1B5D53407A592200C3B494597D312B,PinName="ReturnValue",Direction="EGPD_Output",PinType.PinCategory="object",PinType.PinSubCategory="",PinType.PinSubCategoryObject=Class'"/Script/Engine.ActorComponent"',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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值