Cesium for Unreal 2.28.0
Loading...
Searching...
No Matches
Cesium3DTilesStyle.h
Go to the documentation of this file.
1// Copyright 2020-2026 CesiumGS, Inc. and Contributors
2
3#pragma once
4
5#include "CesiumCommon.h"
7#include "UObject/Interface.h"
8
9#include "Cesium3DTilesStyle.generated.h"
10
11USTRUCT(BlueprintType)
13 GENERATED_BODY()
14public:
15 /**
16 * Whether or not the given feature should be shown.
17 */
18 UPROPERTY(BlueprintReadWrite, Category = "Cesium|Styling")
19 bool bShow = true;
20
21 /**
22 * The color to apply to the given feature.
23 */
24 UPROPERTY(BlueprintReadWrite, Category = "Cesium|Styling")
25 FColor Color = FColor(255, 255, 255, 255);
26};
27
28UINTERFACE(Blueprintable, MinimalAPI)
29class UCesium3DTilesStylingProvider : public UInterface {
30 GENERATED_BODY()
31};
32
33/**
34 * An interface for applying visual styles to a Cesium3DTileset's features using
35 * Blueprints.
36 */
38 GENERATED_BODY()
39
40public:
41 /**
42 * Evaluates the style for the given feature.
43 */
44 UFUNCTION(
45 BlueprintCallable,
46 BlueprintNativeEvent,
47 Category = "Cesium|Styling")
49 EvaluateStyle(const FCesiumPropertyTable& PropertyTable, int64 FeatureId);
50
52 const FCesiumPropertyTable& PropertyTable,
53 int64 FeatureId) {
54 return FCesium3DTilesStyle();
55 }
56};
Blueprintable
USTRUCT() struct FCesiumVoxelClassDescription
Description of the metadata properties available in the class used by the 3DTILES_content_voxels exte...
An interface for applying visual styles to a Cesium3DTileset's features using Blueprints.
virtual FCesium3DTilesStyle EvaluateStyle_Implementation(const FCesiumPropertyTable &PropertyTable, int64 FeatureId)
FCesium3DTilesStyle EvaluateStyle(const FCesiumPropertyTable &PropertyTable, int64 FeatureId)
Evaluates the style for the given feature.
FColor Color
The color to apply to the given feature.
bool bShow
Whether or not the given feature should be shown.
A Blueprint-accessible wrapper for a glTF property table.