- class unreal.SoftComponentReference(component_property: Name = 'None', other_actor: Actor = Ellipsis)¶
Struct that allows for different ways to reference a component using TSoftObjectPtr. 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: Soft 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