Cesium for Unreal 2.12.0
Loading...
Searching...
No Matches
CesiumPointCloudShading.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
5#include "CoreMinimal.h"
6
7#include "CesiumPointCloudShading.generated.h"
8
12USTRUCT(BlueprintType)
13struct CESIUMRUNTIME_API FCesiumPointCloudShading {
14 GENERATED_USTRUCT_BODY()
15
16
20 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
21 bool Attenuation = false;
22
27 UPROPERTY(
28 EditAnywhere,
29 BlueprintReadWrite,
30 Category = "Cesium",
31 meta = (ClampMin = 0.0))
32 float GeometricErrorScale = 1.0f;
33
39 UPROPERTY(
40 EditAnywhere,
41 BlueprintReadWrite,
42 Category = "Cesium",
43 meta = (ClampMin = 0.0))
44 float MaximumAttenuation = 0.0f;
45
55 UPROPERTY(
56 EditAnywhere,
57 BlueprintReadWrite,
58 Category = "Cesium",
59 meta = (ClampMin = 0.0))
60 float BaseResolution = 0.0f;
61
62 bool
63 operator==(const FCesiumPointCloudShading& OtherPointCloudShading) const {
64 return Attenuation == OtherPointCloudShading.Attenuation &&
65 GeometricErrorScale == OtherPointCloudShading.GeometricErrorScale &&
66 MaximumAttenuation == OtherPointCloudShading.MaximumAttenuation &&
67 BaseResolution == OtherPointCloudShading.BaseResolution;
68 }
69
70 bool
71 operator!=(const FCesiumPointCloudShading& OtherPointCloudShading) const {
72 return !(*this == OtherPointCloudShading);
73 }
74};
Options for adjusting how point clouds are rendered using 3D Tiles.
bool operator!=(const FCesiumPointCloudShading &OtherPointCloudShading) const
bool Attenuation
Whether or not to perform point attenuation.