UPointCloudComponent

Component for rendering a point cloud

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

PointCloud

Header

/Engine/Plugins/Experimental/AR/PointCloud/Source/PointCloud/Public/PointCloudComponent.h

Include

#include "PointCloudComponent.h"

Syntax

UCLASS(HideCategories=(Object, LOD), Meta=(BlueprintSpawnableComponent), ClassGroup=PointCloud)
class UPointCloudComponent : public UMeshComponent

Remarks

Component for rendering a point cloud

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bIsVisible

If true, each tick the component will render its point cloud

Public variable UProperty Category BlueprintReadOnly

TArray< FVector...

 

PointCloud

Point cloud data that will be used for rendering, assumes each point is in world space

Public variable UProperty

UMaterialInterf...

 

PointCloudMaterial

The material to render with

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FLinearColor

 

PointColor

The color to render the points with

Public variable UProperty Category BlueprintReadOnly

TArray< FColor ...

 

PointColors

Point cloud color data that will be used for rendering

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

float

 

PointSize

The size of the point when rendering

Constructors

Name Description

Public function

UPointCloudComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

ClearPointCloud()

Empties the point cloud

Public function Const UFunction BlueprintPure, Category

TArray< FVec...

 

GetPointsInBox

(
    const FBox& WorldSpaceBox
)

Determines which points are within the box and returns those to the caller

Public function Const UFunction BlueprintPure, Category

TArray< FVec...

 

GetPointsOutsideBox

(
    const FBox& WorldSpaceBox
)

Determines which points are outside the box and returns those to the caller

Public function UFunction BlueprintCallable, Category

void

 

SetIsVisible

(
    bool bNewVisibility
)

Changes the visibility setting

Public function UFunction BlueprintCallable, Category

void

 

SetPointCloud

(
    const TArray< FVector >& Points
)

Updates the point cloud data with the new set of points

Public function UFunction BlueprintCallable, Category

void

 

SetPointCloudWithColors

(
    const TArray< FVector >& Points,
    const TArray< FColor >& Colors
)

Updates the point cloud data with the new set of points and colors

Public function UFunction BlueprintCallable, Category

void

 

SetPointColor

(
    const FLinearColor& Color
)

Allows you to change the color of the points being rendered

Public function UFunction BlueprintCallable, Category

void

 

SetPointSize

(
    float Size
)

Allows you to change the size of the points being rendered

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback