unreal.NDCAccessContextLegacy

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

Bases: NDCAccessContextBase

Special legacy access context type. Used only to facilitate legacy NDCs to be usable by the new API.

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]

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)