CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Util
ProceduralCustomMesh.h
Go to the documentation of this file.
1
// Copyright (c) 2020 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()
13
struct CARLA_API
FProceduralCustomMesh
14
{
15
GENERATED_BODY()
16
17
UPROPERTY()
18
TArray<FVector> Vertices;
19
20
UPROPERTY()
21
TArray<int32> Triangles;
22
23
UPROPERTY()
24
TArray<FVector> Normals;
25
26
UPROPERTY()
27
TArray<FVector2D> UV0;
28
29
UPROPERTY()
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:13
Generated by
1.8.13