Versions Compared

Key

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

- Declaration

static void PostColorPropertyUpdate(FCavrnusSpaceConnection SpaceConnection, FString ContainerName, FString PropertyName, FLinearColor PropertyValue);

...

static void PostTransformPropertyUpdate(FCavrnusSpaceConnection SpaceConnection, FString ContainerName, FString PropertyName, FTransform PropertyValue);

- Description

Updates the property value at the given path and synchronizes the data to the server.

This is the most common/simple way of changing a property’s value. However, since it writes to the journal, it is best to not post hundreds or thousands of these changes in rapid succession. Instead when, say, dragging an object between two points, consider using BeginTransientXPropertyUpdate instead.

- Blueprint Sample

In this example, clicking on a Spawner object creates an object and selects a randomized starting location, immediately posting the transform to the journal.

...

- Code Sample

Example case - color and height of a flag.

...