unreal.EnvQueryInstanceBlueprintWrapper
¶
- class unreal.EnvQueryInstanceBlueprintWrapper(outer=None, name='None')¶
Bases:
unreal.Object
Env Query Instance Blueprint Wrapper
C++ Source:
Module: AIModule
File: EnvQueryInstanceBlueprintWrapper.h
Editor Properties: (see get_editor_property/set_editor_property)
item_type
(type(Class)): [Read-Write] Item Typeon_query_finished_event
(EQSQueryDoneSignature): [Read-Write] On Query Finished Eventoption_index
(int32): [Read-Write] index of query option, that generated itemsquery_id
(int32): [Read-Write] Query ID
- get_item_score(item_index) → float¶
Get Item Score
- Parameters
item_index (int32) –
- Returns
- Return type
- get_query_results_as_actors() → Array(Actor) or None¶
Outputs an array filled with resulting actors. Note that it makes sense only if ItemType is a EnvQueryItemType_ActorBase-derived type. Returns false if there is no valid result.
- get_query_results_as_locations() → Array(Vector) or None¶
Outputs an array of locations generated by the query. If the query generated Actors the the array is filled with their locations. Returns false if there is no valid result.
- get_results_as_actors()¶
DEPRECATED! Use GetQueryResultsAsActors instead. Returns an array filled with resulting actors. Note that it makes sense only if ItemType is a EnvQueryItemType_ActorBase-derived type. deprecated: Use GetQueryResultsAsActors instead, which is more efficient itself and protects against very bad perf issues in some blueprints.
- get_results_as_locations()¶
DEPRECATED! Use GetQueryResultsAsLocations instead. Returns an array of locations generated by the query. If the query generated Actors the the array is filled with their locations. deprecated: GetQueryResultsAsLocations instead, which is more efficient itself and protects against very bad perf issues in some blueprints.
- property on_query_finished_event¶
[Read-Write] On Query Finished Event
- Type
- property option_index¶
[Read-Only] index of query option, that generated items
- Type
(int32)
- property query_id¶
[Read-Only] Query ID
- Type
(int32)