unreal.DisplayClusterBlueprintAPI
¶
- class unreal.DisplayClusterBlueprintAPI(outer=None, name='None')¶
Bases:
unreal.Interface
Display Cluster Blueprint API
C++ Source:
Plugin: nDisplay
Module: DisplayCluster
File: IDisplayClusterBlueprintAPI.h
- add_cluster_event_listener(listener) → None¶
Adds cluster event listener.
- Parameters
listener (DisplayClusterClusterEventListener) –
- emit_cluster_event_binary(event, master_only) → None¶
Emits binary cluster event.
- Parameters
event (DisplayClusterClusterEventBinary) –
master_only (bool) –
- emit_cluster_event_json(event, master_only) → None¶
Emits JSON cluster event.
- Parameters
event (DisplayClusterClusterEventJson) –
master_only (bool) –
- get_all_cameras()¶
Returns array of all available camera components. deprecated: This function has been moved to ADisplayClusterRootActor.
- Returns
- Return type
- get_all_nodes()¶
Returns array of all scene components (nodes). deprecated: This function has been moved to ADisplayClusterRootActor.
- Returns
- Return type
- get_all_screens()¶
Returns array of all screen components. deprecated: This function has been moved to ADisplayClusterRootActor.
- Returns
- Return type
- get_axis(device_id, device_channel) -> (value=float, is_available=bool)¶
Returns axis value at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
value (float):
is_available (bool):
- Return type
tuple
- get_axis_device_amount() → int32¶
Returns amount of VRPN axis devices. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Returns
- Return type
int32
- get_axis_device_ids()¶
Returns array of names of all VRPN axis devices. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- get_buffer_ratio(viewport_id) → float or None¶
Returns current buffer ratio for specified viewport. deprecated: Use Configuration structures
- get_button_device_amount() → int32¶
Returns amount of VRPN button devices. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Returns
- Return type
int32
- get_button_device_ids()¶
Returns array of names of all VRPN button devices. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- get_button_state(device_id, device_channel) -> (current_state=bool, is_channel_available=bool)¶
Returns state of VRPN button at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
current_state (bool):
is_channel_available (bool):
- Return type
tuple
- get_camera_by_id(camera_id) → DisplayClusterCameraComponent¶
Returns camera component with specified ID. deprecated: This function has been moved to ADisplayClusterRootActor.
- Parameters
camera_id (str) –
- Returns
- Return type
- get_cameras_amount() → int32¶
Returns amount of cameras. deprecated: This function has been moved to ADisplayClusterRootActor.
- Returns
- Return type
int32
- get_config() → DisplayClusterConfigurationData¶
Return current configuration data
- Returns
- Return type
- get_default_camera() → DisplayClusterCameraComponent¶
Returns default camera component. deprecated: This function has been moved to ADisplayClusterRootActor.
- Returns
- Return type
- get_keyboard_device_ids()¶
Returns array of names of all keyboard devices. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- get_local_viewports() -> (viewport_i_ds=Array(str), projection_types=Array(str), viewport_locations=Array(IntPoint), viewport_sizes=Array(IntPoint))¶
Returns list of local viewports. deprecated: Use new api
- Returns
viewport_i_ds (Array(str)):
projection_types (Array(str)):
viewport_locations (Array(IntPoint)):
viewport_sizes (Array(IntPoint)):
- Return type
tuple
- get_node_by_id(scene_node_id) → DisplayClusterSceneComponent¶
Returns scene component by its ID. deprecated: This function has been moved to ADisplayClusterRootActor.
- Parameters
scene_node_id (str) –
- Returns
- Return type
- get_node_id() → str¶
Returns cluster node name of the current application instance.
- Returns
- Return type
- get_nodes_amount() → int32¶
Returns amount of nodes in a cluster.
- Returns
- Return type
int32
- get_operation_mode() → DisplayClusterOperationMode¶
Returns current operation mode.
- Returns
- Return type
- get_root_actor() → DisplayClusterRootActor¶
Returns DisplayCluster root actor.
- Returns
- Return type
- get_root_component() → DisplayClusterRootComponent¶
Returns DisplayCluster root component. deprecated: UDisplayClusterRootComponent has been deprecated. Please use ADisplayClusterRootActor.
- Returns
- Return type
- get_screen_by_id(screen_id) → DisplayClusterScreenComponent¶
Returns screen component by ID. deprecated: This function has been moved to ADisplayClusterRootActor.
- Parameters
screen_id (str) –
- Returns
- Return type
- get_screens_amount() → int32¶
Returns amount of screens defined in current configuration file. deprecated: This function has been moved to ADisplayClusterRootActor.
- Returns
- Return type
int32
- get_tracker_device_amount() → int32¶
Returns amount of VRPN tracker devices. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Returns
- Return type
int32
- get_tracker_device_ids()¶
Returns array of names of all VRPN tracker devices. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- get_tracker_location(device_id, device_channel) -> (location=Vector, is_channel_available=bool)¶
Returns tracker location values at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
location (Vector):
is_channel_available (bool):
- Return type
tuple
- get_tracker_quat(device_id, device_channel) -> (rotation=Quat, is_channel_available=bool)¶
Returns tracker quaternion values at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
rotation (Quat):
is_channel_available (bool):
- Return type
tuple
- get_viewport_rect(viewport_id) → (viewport_loc=IntPoint, viewport_size=IntPoint) or None¶
Returns location and size of specified viewport. deprecated: Use new api
- is_button_pressed(device_id, device_channel) -> (is_pressed_currently=bool, is_channel_available=bool)¶
Returns whether VRPN button is pressed at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
is_pressed_currently (bool):
is_channel_available (bool):
- Return type
tuple
- is_button_released(device_id, device_channel) -> (is_released_currently=bool, is_channel_available=bool)¶
Returns whether VRPN button is released at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
is_released_currently (bool):
is_channel_available (bool):
- Return type
tuple
- is_master() → bool¶
Returns true if current node is a master computer in a cluster.
- Returns
- Return type
- is_module_initialized() → bool¶
Returns true if the module has been initialized.
- Returns
- Return type
- is_slave() → bool¶
Returns true if current node is a slave computer in a cluster.
- Returns
- Return type
- remove_cluster_event_listener(listener) → None¶
Removes cluster event listener.
- Parameters
listener (DisplayClusterClusterEventListener) –
- scene_view_extension_is_active_in_context_function(viewport_i_ds) → SceneViewExtensionIsActiveFunctor¶
Returns a functor that determines if any given scene view extension should be active in the given context for the current frame deprecated: Use Configuration structures
- Parameters
- Returns
out_is_active_function (SceneViewExtensionIsActiveFunctor):
- Return type
- send_cluster_event_binary_to(address, port, event, master_only) → None¶
Sends binary cluster event to a specific target (outside of the cluster).
- Parameters
address (str) –
port (int32) –
event (DisplayClusterClusterEventBinary) –
master_only (bool) –
- send_cluster_event_json_to(address, port, event, master_only) → None¶
Sends JSON cluster event to a specific target (outside of the cluster).
- Parameters
address (str) –
port (int32) –
event (DisplayClusterClusterEventJson) –
master_only (bool) –
- set_buffer_ratio(viewport_id, buffer_ratio) → bool¶
Sets buffer ratio for specified viewport. deprecated: Use Configuration structures
- set_default_camera_by_id(camera_id) → None¶
Sets default camera component specified by ID. deprecated: This function has been moved to ADisplayClusterRootActor.
- Parameters
camera_id (str) –
- set_final_post_processing_settings(viewport_id, final_post_processing_settings) → None¶
Overrides postprocess settings for specified viewport. deprecated: Use Configuration structures
- Parameters
viewport_id (str) –
final_post_processing_settings (PostProcessSettings) –
- set_override_post_processing_settings(viewport_id, override_post_processing_settings, blend_weight=1.0) → None¶
Overrides postprocess settings for specified viewport. deprecated: Use Configuration structures
- Parameters
viewport_id (str) –
override_post_processing_settings (PostProcessSettings) –
blend_weight (float) –
- set_start_post_processing_settings(viewport_id, start_post_processing_settings) → None¶
Overrides postprocess settings for specified viewport. deprecated: Use Configuration structures
- Parameters
viewport_id (str) –
start_post_processing_settings (PostProcessSettings) –
- set_viewport_camera(camera_id, viewport_id) → None¶
Binds camera to a viewport. deprecated: Use Configuration structures
- was_button_pressed(device_id, device_channel) -> (was_pressed=bool, is_channel_available=bool)¶
Returns whether VRPN button was released at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
was_pressed (bool):
is_channel_available (bool):
- Return type
tuple
- was_button_released(device_id, device_channel) -> (was_released=bool, is_channel_available=bool)¶
Returns whether VRPN button was released at specified device and channel. deprecated: VRPN functionality has been moved to LiveLinkVRPN
- Parameters
device_id (str) –
device_channel (int32) –
- Returns
was_released (bool):
is_channel_available (bool):
- Return type
tuple