unreal.ConcertReplicationBlueprintFunctionLibrary
¶
- class unreal.ConcertReplicationBlueprintFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Concert Replication Blueprint Function Library
C++ Source:
Plugin: ConcertReplicationScripting
Module: ConcertReplicationScripting
File: ConcertReplicationBlueprintFunctionLibrary.h
- classmethod get_all_properties(class_) Array[ConcertPropertyChainWrapper] ¶
Gets all properties in the class that are valid for replicating.
- Parameters:
- Returns:
All properties in the class that are valid for replicating.
- Return type:
- classmethod get_child_properties(parent, class_, only_direct=False) Array[ConcertPropertyChainWrapper] ¶
Returns all child properties of Parent that are valid for replicating.
- Parameters:
parent (ConcertPropertyChainWrapper) – The property of which to find child properties
only_direct (bool) – Whether you only want direct children of Parent
- Returns:
All child properties of Parent that are valid for replicating.
- Return type:
- classmethod get_properties_in(class_, filter) Array[ConcertPropertyChainWrapper] ¶
Builds an array of property paths that pass the given filter.
- Parameters:
- Returns:
An array of all property paths in the given class that passed the filter
- Return type:
- classmethod get_property_from_leaf(path, index=0) Name ¶
Gets the property at Index starting from the leaf most property. Example: The leaf Index 0 for [“RelativeLocation”, “X”] would return “X”.
- Parameters:
path (ConcertPropertyChainWrapper) – The property path to get the sub-property from.
index (int32) – The index in the path counting from the right, leaf property.
- Returns:
The property name at Index or None if Index is invalid.
- Return type:
- classmethod get_property_from_root(path, index=0) Name ¶
Gets the property at Index starting from the root most property. Example: The root Index 0 for [“RelativeLocation”, “X”] would return “RelativeLocation”.
- Parameters:
path (ConcertPropertyChainWrapper) – The property path to get the sub-property from.
index (int32) – The index in the path counting from the left, root property.
- Returns:
The property name at Index or None if Index is invalid.
- Return type:
- classmethod get_property_string_path(path) Array[Name] ¶
Gets the path as string array. Example: [“RelativeLocation”, “X”]
- Parameters:
path (ConcertPropertyChainWrapper) – The property path to extract from
- Returns:
The path as string array
- Return type:
- classmethod is_child_of(to_test, parent) bool ¶
Checks whether ToTest is a child property of Parent.
- Parameters:
to_test (ConcertPropertyChainWrapper) – The property for which to check whether it is a child property
parent (ConcertPropertyChainWrapper) – The property which is supposed to be the parent of ToTest
- Returns:
Whether ToTest is a child property of Parent
- Return type:
- classmethod is_direct_child_of(to_test, parent) bool ¶
Checks whether ToTest is a direct child property of Parent.
- Parameters:
to_test (ConcertPropertyChainWrapper) – The property for which to check whether it is a child property
parent (ConcertPropertyChainWrapper) – The property which is supposed to be the parent of ToTest
- Returns:
Whether ToTest is a direct child property of Parent
- Return type:
- classmethod make_property_chain_by_literal_path(class_, path_to_property) ConcertPropertyChainWrapper or None ¶
Tries to make concert property chain by specifying a path manually.
- Parameters:
- Returns:
Whether Result is valid.
result (ConcertPropertyChainWrapper): The resulting path
- Return type:
ConcertPropertyChainWrapper or None
- classmethod to_string(property_chain) str ¶
Converts the the property to a string.
- Parameters:
property_chain (ConcertPropertyChainWrapper) –
- Return type: