unreal.ComponentReference
¶
- class unreal.ComponentReference(other_actor=None, component_property='None')¶
Bases:
unreal.StructBase
Struct that allows for different ways to reference a component. If just an Actor is specified, will return RootComponent of that Actor.
C++ Source:
Module: Engine
File: EngineTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
component_property
(Name): [Read-Write] Name of component to use. If this is not specified the reference refers to the root component.other_actor
(Actor): [Read-Write] 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.