Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The header files in the LivePropertyUpdates folder define a set of classes designed to handle real-time updates of different property types within the Cavrnus collaborative environment. These classes share a common base class, UCavrnusLivePropertyUpdate, and provide specialized functionality for specific data types.

UCavrnusLivePropertyUpdate (Base Class):

  • Purpose: This abstract class serves as the foundation for all live property update classes. It provides essential functions for managing the update process, such as:

    • Cancel(): Cancels any ongoing property updates.

    • GetLastUpdatedTimeSeconds(): Retrieves the time elapsed since the last update.

  • Key Members:

    • livePropertyUpdate: A pointer to the underlying implementation of the property update (likely in the Cavrnus backend).

Derived Classes (Specific Property Types):

  • UCavrnusLiveFloatPropertyUpdate: Handles live updates of float properties.

  • UCavrnusLiveStringPropertyUpdate: Handles live updates of string properties.

  • UCavrnusLiveTransformPropertyUpdate: Handles live updates of transform properties (position, rotation, scale).

  • UCavrnusLiveVectorPropertyUpdate: Handles live updates of vector properties (e.g., 3D positions).

  • UCavrnusLiveBoolPropertyUpdate: Handles live updates of boolean properties (true/false values).

  • UCavrnusLiveColorPropertyUpdate: Handles live updates of color properties (e.g., RGB values).

Common Functionality:

Each derived class typically provides the following functions:

...