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](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(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 BlueprintReadWrite

float

 

PointCloudUpdateInterval

If > 0, will automatically update the point cloud data from AR system based on this interval (sec)

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

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

UTexture *

 

SpriteTexture

An optional sprite texture to render the point with

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss