unreal.CelestialVaultEditorUtilities

class unreal.CelestialVaultEditorUtilities(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Celestial Vault Editor Utilities

C++ Source:

  • Plugin: CelestialVault

  • Module: CelestialVaultEditor

  • File: CelestialVaultEditorUtilities.h

classmethod compute_texture_mean_luminance(texture) float or None

Compute Texture Mean Luminance

Parameters:

texture (Texture2D)

Returns:

out_mean (float):

Return type:

float or None

classmethod get_viewport_cursor_information() -> (focused=bool, screen_location=Vector2D, world_location=Vector, world_direction=Vector)

Retrieve information about the viewport under the mouse cursor.

Returns:

focused (bool): If the Level editor not are in focus it will return false.

screen_location (Vector2D): Viewport-Space position of cursor.

world_location (Vector): Location of viewport origin (camera) in world space.

world_direction (Vector): Direction of viewport (camera) in world space.

Return type:

tuple