unreal.NiagaraDataChannelSearchParameters

class unreal.NiagaraDataChannelSearchParameters(owning_component: SceneComponent = Ellipsis, location: Vector = Ellipsis, override_location: bool = False)

Bases: StructBase

Legacy search parameters to support legacy code.

C++ Source:

  • Plugin: Niagara

  • Module: Niagara

  • File: NiagaraDataChannelAccessContext.h

Editor Properties: (see get_editor_property/set_editor_property)

  • location (Vector): [Read-Write] In cases where there is no owning component for data being read or written to a data channel, we simply pass in a location. We can also use this when bOverrideLocaiton is set.

  • override_location (bool): [Read-Write] If true, even if an owning component is set, the data channel should use the Location value rather than the component location. If this is false, the NDC will get any location needed from the owning component.

  • owning_component (SceneComponent): [Read-Write] In cases where there is an owning component such as an object spawning from itself etc, then we pass that component in. Some handlers may only use it’s location but others may make use of more data.

property location: Vector

[Read-Write] In cases where there is no owning component for data being read or written to a data channel, we simply pass in a location. We can also use this when bOverrideLocaiton is set.

Type:

(Vector)

property override_location: bool

[Read-Write] If true, even if an owning component is set, the data channel should use the Location value rather than the component location. If this is false, the NDC will get any location needed from the owning component.

Type:

(bool)

property owning_component: SceneComponent

[Read-Write] In cases where there is an owning component such as an object spawning from itself etc, then we pass that component in. Some handlers may only use it’s location but others may make use of more data.

Type:

(SceneComponent)