Navigation
API > API/Plugins > API/Plugins/LidarPointCloudRuntime
Component that allows you to render specified point cloud section
| Name | ULidarPointCloudComponent |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/LidarPointCloud/Source/LidarPointCloudRuntime/Public/LidarPointCloudComponent.h |
| Include Path | #include "LidarPointCloudComponent.h" |
Syntax
UCLASS (ClassGroup=Rendering, ShowCategories=(Rendering),
HideCategories=(Object, LOD, Physics, Activation, Materials, Cooking, Input, HLOD, Mobile),
Meta=(BlueprintSpawnableComponent))
class ULidarPointCloudComponent : public UMeshComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UMeshComponent → ULidarPointCloudComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULidarPointCloudComponent() |
LidarPointCloudComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDrawNodeBounds | bool | Enabling this will cause the visible nodes to render their bounds. | LidarPointCloudComponent.h |
|
| bUseFrustumCulling | bool | If enabled, points outside of the visible frustum will not be rendered. | LidarPointCloudComponent.h |
|
| ClassificationColors | TMap< int32, FLinearColor > | Used with the Classification source. Maps the given classification ID to a color. | LidarPointCloudComponent.h |
|
| ColorSource | ELidarPointCloudColorationMode | Specifies which source to use for point colors. | LidarPointCloudComponent.h |
|
| ColorTint | FLinearColor | Specifies the tint to apply to the points. | LidarPointCloudComponent.h |
|
| Contrast | FVector4 | LidarPointCloudComponent.h |
|
|
| ElevationColorBottom | FLinearColor | Specifies the bottom color of the elevation-based gradient. | LidarPointCloudComponent.h |
|
| ElevationColorTop | FLinearColor | Specifies the top color of the elevation-based gradient. | LidarPointCloudComponent.h |
|
| Gain | FVector4 | Affects the emissive strength of the color. Useful to create Bloom and light bleed effects. | LidarPointCloudComponent.h |
|
| Gamma | FVector4 | LidarPointCloudComponent.h |
|
|
| GapFillingStrength | float | If set to > 0, it attempts to close gaps between points. | LidarPointCloudComponent.h |
|
| IntensityInfluence | float | Specifies the influence of Intensity data, if available, on the overall color. | LidarPointCloudComponent.h |
|
| MaxDepth | int32 | Maximum Depth to which the nodes should be rendered. -1 to disable. | LidarPointCloudComponent.h |
|
| MinDepth | int32 | Minimum Depth from which the nodes should be rendered. 0 to disable. | LidarPointCloudComponent.h |
|
| Offset | FVector4 | Applied additively, 0 being neutral. | LidarPointCloudComponent.h |
|
| PointOrientation | ELidarPointCloudSpriteOrientation | Affects the orientation of points. | LidarPointCloudComponent.h |
|
| PointSize | float | Use to tweak the size of the points. Set to 0 to switch to 1 pixel points. | LidarPointCloudComponent.h |
|
| PointSizeBias | float | Larger values will help mask LOD transition areas, but too large values will lead to loss of detail. | LidarPointCloudComponent.h |
|
| Saturation | FVector4 | LidarPointCloudComponent.h |
|
|
| ScalingMethod | ELidarPointCloudScalingMethod | Determines how the points will be scaled | LidarPointCloudComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseMaterial | TObjectPtr< UMaterialInterface > | LidarPointCloudComponent.h |
|
|
| BaseMaterialMasked | TObjectPtr< UMaterialInterface > | LidarPointCloudComponent.h |
|
|
| CustomMaterial | TObjectPtr< UMaterialInterface > | Allows using custom-built material for the point cloud. Set to None to use the default one instead. | LidarPointCloudComponent.h |
|
| Material | TObjectPtr< UMaterialInterface > | LidarPointCloudComponent.h |
|
|
| OwningViewportClient | TWeakPtr< FViewportClient > | Pointer to the viewport client of the owning editor, or null, if this is a game object. | LidarPointCloudComponent.h | |
| PointCloud | TObjectPtr< ULidarPointCloud > | LidarPointCloudComponent.h |
|
|
| PointShape | ELidarPointCloudSpriteShape | Affects the shape of points. | LidarPointCloudComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyColorToFirstPointByRay
(
FColor NewColor, |
Applies the given color to the first point hit by the given ray | LidarPointCloudComponent.h |
|
void ApplyColorToFirstPointByRay
(
const FColor& NewColor, |
LidarPointCloudComponent.h |
|
|
void ApplyColorToPointsByRay
(
FColor NewColor, |
Applies the given color to all points hit by the given ray | LidarPointCloudComponent.h |
|
void ApplyColorToPointsByRay
(
const FColor& NewColor, |
LidarPointCloudComponent.h |
|
|
void ApplyColorToPointsInBox
(
FColor NewColor, |
Applies the given color to all points within the box | LidarPointCloudComponent.h |
|
void ApplyColorToPointsInBox
(
const FColor& NewColor, |
LidarPointCloudComponent.h |
|
|
void ApplyColorToPointsInSphere
(
FColor NewColor, |
Applies the given color to all points within the sphere | LidarPointCloudComponent.h |
|
void ApplyColorToPointsInSphere
(
const FColor& NewColor, |
LidarPointCloudComponent.h |
|
|
void ApplyRenderingParameters() |
Applies specified rendering parameters (Brightness, Saturation, etc) to the selected material | LidarPointCloudComponent.h |
|
void ClearSelection() |
LidarPointCloudComponent.h | ||
void DeleteSelected() |
LidarPointCloudComponent.h | ||
void ExecuteActionOnFirstPointByRay
(
TFunction< void(FLidarPointCloudPoint*)> Action, |
Executes the provided action on the first point hit by the given ray. | LidarPointCloudComponent.h | |
void ExecuteActionOnPointsByRay
(
TFunction< void(FLidarPointCloudPoint*)> Action, |
Executes the provided action on each of the points hit by the given ray. | LidarPointCloudComponent.h | |
void ExecuteActionOnPointsInBox
(
TFunction< void(FLidarPointCloudPoint*)> Action, |
LidarPointCloudComponent.h | ||
void ExecuteActionOnPointsInBox
(
TFunction< void(FLidarPointCloudPoint*)> Action, |
Executes the provided action on each of the points within the given box. | LidarPointCloudComponent.h | |
void ExecuteActionOnPointsInSphere
(
TFunction< void(FLidarPointCloudPoint*)> Action, |
LidarPointCloudComponent.h | ||
void ExecuteActionOnPointsInSphere
(
TFunction< void(FLidarPointCloudPoint*)> Action, |
Executes the provided action on each of the points within the given sphere. | LidarPointCloudComponent.h | |
virtual UBodySetup * GetBodySetup() |
LidarPointCloudComponent.h | ||
virtual UMaterialInterface * GetMaterial
(
int32 ElementIndex |
LidarPointCloudComponent.h | ||
virtual int32 GetNumMaterials() |
LidarPointCloudComponent.h | ||
TWeakPtr< FViewportClient > GetOwningViewportClient() |
LidarPointCloudComponent.h | ||
ULidarPointCloud * GetPointCloud() |
LidarPointCloudComponent.h |
|
|
ELidarPointCloudSpriteShape GetPointShape() |
Returns the current Point Shape | LidarPointCloudComponent.h |
|
void GetPointsInBox
(
TArray64< FLidarPointCloudPoint* >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInBox
(
TArray< FLidarPointCloudPoint* >& SelectedPoints, |
Populates the array with the list of points within the given box. | LidarPointCloudComponent.h | |
void GetPointsInBox
(
TArray64< FLidarPointCloudPoint* >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInBox
(
TArray< FLidarPointCloudPoint* >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInBoxAsCopies
(
TArray64< FLidarPointCloudPoint >& SelectedPoints, |
LidarPointCloudComponent.h | ||
TArray< FLidarPointCloudPoint > GetPointsInBoxAsCopies
(
FVector Center, |
Populates the array with copies of points within the given box. | LidarPointCloudComponent.h |
|
void GetPointsInBoxAsCopies
(
TArray< FLidarPointCloudPoint >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInSphere
(
TArray< FLidarPointCloudPoint* >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInSphere
(
TArray64< FLidarPointCloudPoint* >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInSphere
(
TArray64< FLidarPointCloudPoint* >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInSphere
(
TArray< FLidarPointCloudPoint* >& SelectedPoints, |
Populates the array with the list of points within the given sphere. | LidarPointCloudComponent.h | |
TArray< FLidarPointCloudPoint > GetPointsInSphereAsCopies
(
FVector Center, |
Populates the array with copies of points within the given sphere. | LidarPointCloudComponent.h |
|
void GetPointsInSphereAsCopies
(
TArray< FLidarPointCloudPoint >& SelectedPoints, |
LidarPointCloudComponent.h | ||
void GetPointsInSphereAsCopies
(
TArray64< FLidarPointCloudPoint >& SelectedPoints, |
LidarPointCloudComponent.h | ||
TArray< FLidarPointCloudPoint > GetSelectedPointsAsCopies
(
bool bReturnWorldSpace |
LidarPointCloudComponent.h |
|
|
void GetSelectedPointsAsCopies
(
TArray< FLidarPointCloudPoint >& Points, |
LidarPointCloudComponent.h | ||
void GetSelectedPointsAsCopies
(
TArray64< FLidarPointCloudPoint >& Points, |
LidarPointCloudComponent.h | ||
bool HasPointsByRay
(
const FLidarPointCloudRay& Ray, |
LidarPointCloudComponent.h | ||
bool HasPointsByRay
(
FVector Origin, |
Returns true if there are any points hit by the given ray. | LidarPointCloudComponent.h |
|
bool HasPointsInBox
(
FVector Center, |
Returns true if there are any points within the given box. | LidarPointCloudComponent.h |
|
bool HasPointsInBox
(
const FBox& Box, |
LidarPointCloudComponent.h | ||
bool HasPointsInSphere
(
const FSphere& Sphere, |
LidarPointCloudComponent.h | ||
bool HasPointsInSphere
(
FVector Center, |
Returns true if there are any points within the given sphere. | LidarPointCloudComponent.h |
|
void HideSelected() |
LidarPointCloudComponent.h | ||
void InvertSelection() |
LidarPointCloudComponent.h | ||
bool IsOwnedByEditor() |
LidarPointCloudComponent.h | ||
bool LineTraceMulti
(
FLidarPointCloudRay Ray, |
LidarPointCloudComponent.h | ||
bool LineTraceMulti
(
FLidarPointCloudRay Ray, |
LidarPointCloudComponent.h | ||
bool LineTraceMulti
(
FVector Origin, |
Performs a raycast test against the point cloud. | LidarPointCloudComponent.h |
|
FLidarPointCloudPoint * LineTraceSingle
(
FLidarPointCloudRay Ray, |
LidarPointCloudComponent.h | ||
bool LineTraceSingle
(
FVector Origin, |
Performs a raycast test against the point cloud. Returns the pointer if hit or nullptr otherwise. | LidarPointCloudComponent.h |
|
int64 NumSelectedPoints() |
LidarPointCloudComponent.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
LidarPointCloudComponent.h | ||
virtual void PostEditImport() |
LidarPointCloudComponent.h | ||
virtual void PostLoad() |
LidarPointCloudComponent.h | ||
virtual void PreEditChange
(
FProperty* PropertyThatWillChange |
LidarPointCloudComponent.h | ||
void RemoveFirstPointByRay
(
const FLidarPointCloudRay& Ray, |
LidarPointCloudComponent.h |
|
|
void RemoveFirstPointByRay
(
FVector Origin, |
Removes the first point hit by the given ray | LidarPointCloudComponent.h |
|
void RemovePointsByRay
(
FVector Origin, |
Removes all points hit by the given ray | LidarPointCloudComponent.h |
|
void RemovePointsByRay
(
FLidarPointCloudRay Ray, |
LidarPointCloudComponent.h |
|
|
void RemovePointsInBox
(
FVector Center, |
Removes all points within the given box | LidarPointCloudComponent.h |
|
void RemovePointsInBox
(
const FBox& Box, |
LidarPointCloudComponent.h |
|
|
void RemovePointsInSphere
(
const FSphere& Sphere, |
LidarPointCloudComponent.h |
|
|
void RemovePointsInSphere
(
FVector Center, |
Removes all points within the given sphere | LidarPointCloudComponent.h |
|
void SelectByConvexVolume
(
FConvexVolume ConvexVolume, |
LidarPointCloudComponent.h | ||
void SelectBySphere
(
FSphere Sphere, |
LidarPointCloudComponent.h | ||
virtual void SetMaterial
(
int32 ElementIndex, |
LidarPointCloudComponent.h | ||
void SetPointCloud
(
ULidarPointCloud* InPointCloud |
LidarPointCloudComponent.h |
|
|
void SetPointShape
(
ELidarPointCloudSpriteShape NewPointShape |
Sets new Point Shape | LidarPointCloudComponent.h |
|
void SetVisibilityOfFirstPointByRay
(
bool bNewVisibility, |
LidarPointCloudComponent.h |
|
|
void SetVisibilityOfFirstPointByRay
(
bool bNewVisibility, |
Sets visibility of the first point hit by the given ray. | LidarPointCloudComponent.h |
|
void SetVisibilityOfPointsByRay
(
bool bNewVisibility, |
LidarPointCloudComponent.h |
|
|
void SetVisibilityOfPointsByRay
(
bool bNewVisibility, |
Sets visibility of points hit by the given ray. | LidarPointCloudComponent.h |
|
void SetVisibilityOfPointsInBox
(
const bool& bNewVisibility, |
LidarPointCloudComponent.h |
|
|
void SetVisibilityOfPointsInBox
(
bool bNewVisibility, |
Sets visibility of points within the given box. | LidarPointCloudComponent.h |
|
void SetVisibilityOfPointsInSphere
(
bool bNewVisibility, |
Sets visibility of points within the given sphere. | LidarPointCloudComponent.h |
|
void SetVisibilityOfPointsInSphere
(
const bool& bNewVisibility, |
LidarPointCloudComponent.h |
|
|
bool ShouldRenderFacingNormals() |
Returns true if the component should be rendered facing normals | LidarPointCloudComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
LidarPointCloudComponent.h |