您的位置:首页 > 产品设计 > UI/UE

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

2017-11-21 16:46 495 查看
翻译人:灵月散人

参考的引擎版本: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

目录树:

根目录

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: