engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FComponentReference结构体 参考

Struct that allows for different ways to reference a component. 更多...

#include <EngineTypes.h>

Public 成员函数

class UActorComponent * GetComponent (AActor *OwningActor) const
 Get the actual component pointer from this reference
 

Public 属性

FName ComponentProperty
 Name of component to use. 更多...
 
AActor * OtherActor
 Pointer to a different Actor that owns the Component. 更多...
 
TWeakObjectPtr< class UActorComponent > OverrideComponent
 Allows direct setting of first component to constraint.
 
FString PathToComponent
 Path to the component from its owner actor
 

详细描述

Struct that allows for different ways to reference a component.

If just an Actor is specified, will return RootComponent of that Actor.

类成员变量说明

◆ ComponentProperty

FName FComponentReference::ComponentProperty

Name of component to use.

If this is not specified the reference refers to the root component.

◆ OtherActor

AActor* FComponentReference::OtherActor

Pointer to a different Actor that owns the Component.


If this is not provided the reference refers to a component on this / the same actor.


该结构体的文档由以下文件生成: