Let’s start by creating a new function, which will contain the whole process (you are free to apply the exact same principles as Events or any other set up). Let’s call it MyPointCloudFunction.
We’ll start by retrieving the points from the cloud we want to update.
You can retrieve a Cloud from an existing Point Cloud Actor or Point Cloud Component by calling Get Point Cloud.
Once we have our points stored as a local array, we can iterate over them and update the desired properties.
Because the Point Cloud Point structure is not fully exposed for Blueprint use yet, the modification process is a lot more complex then it would be otherwise - this is planned to be corrected for v0.6 release :)
Now we need to re-assign the modified data back to our original Point Cloud asset.
And that’s it. For the purpose of this example I’ve used the cloud generated in the Building new Point Cloud tutorial. And the end result will look like this:
Here are the full code snippet and full-sized Blueprint screenshot of the complete process.