CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Util
ProceduralCustomMesh.h
Go to the documentation of this file.
1
// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include "ProceduralCustomMesh.generated.h"
10
11
/// A definition of a Carla Mesh.
12
USTRUCT(Blueprintable)
13
struct CARLA_API
FProceduralCustomMesh
14
{
15
GENERATED_BODY()
16
17
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=
"VertexData"
)
18
TArray<FVector>
Vertices
;
19
20
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=
"VertexData"
)
21
TArray<int32>
Triangles
;
22
23
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=
"VertexData"
)
24
TArray<FVector>
Normals
;
25
26
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=
"VertexData"
)
27
TArray<FVector2D>
UV0
;
28
29
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category=
"VertexData"
)
30
TArray<FLinearColor>
VertexColor
;
31
32
// This is commented due to an strange bug including ProceduralMeshComponent.h
33
// UPROPERTY()
34
// TArray<FProcMeshTangent> Tangents;
35
};
FProceduralCustomMesh
A definition of a Carla Mesh.
Definition
ProceduralCustomMesh.h:14
FProceduralCustomMesh::VertexColor
TArray< FLinearColor > VertexColor
Definition
ProceduralCustomMesh.h:30
FProceduralCustomMesh::UV0
TArray< FVector2D > UV0
Definition
ProceduralCustomMesh.h:27
FProceduralCustomMesh::Triangles
TArray< int32 > Triangles
Definition
ProceduralCustomMesh.h:21
FProceduralCustomMesh::Vertices
TArray< FVector > Vertices
Definition
ProceduralCustomMesh.h:18
FProceduralCustomMesh::Normals
TArray< FVector > Normals
Definition
ProceduralCustomMesh.h:24
Generated by
1.18.0