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.
| FName FComponentReference::ComponentProperty |
Name of component to use.
If this is not specified the reference refers to the root component.
| 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.