- class unreal.ComponentReference(other_actor=None, component_property='None')¶
Struct that allows for different ways to reference a component. If just an Actor is specified, will return RootComponent of that Actor.
Editor Properties: (see get_editor_property/set_editor_property)
component_property(Name): [Read-Write] Component Property: Name of component to use. If this is not specified the reference refers to the root component.
other_actor(Actor): [Read-Write] Other Actor: 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.
path_to_component(str): [Read-Write] Path to Component: Path to the component from its owner actor
- property component_property¶
[Read-Write] Component Property: Name of component to use. If this is not specified the reference refers to the root component.