UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ConvexFeature.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc.All Rights Reserved.
2#pragma once
3
4#include "Chaos/Core.h"
6
7namespace Chaos::Private
8{
9 // The type of a convex feature
11 {
12 Unknown,
13 Vertex,
14 Edge,
15 Plane
16 };
17
18 // Information used to identify a feature on a convex shape
20 {
21 public:
22 // An index used to index into some collection (e.g., triangle index in a mesh)
24
25 // The plane index on the convex. E.g., See FConvex::GetPlane()
27
28 // For Vertex or Edge features this is either:
29 // - the vertex index on the plane if PlaneIndex is set (see FConvex::GetPlaneVertex()), or
30 // - the absolute vertex index if PlaneIndex is INDEX_NONE (see FConvex::GetVertex())
32
33 // The feature type
35 };
36}
FPlatformTypes::int8 int8
An 8-bit signed integer.
Definition Platform.h:1121
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
Definition ConvexFeature.h:20
int32 ObjectIndex
Definition ConvexFeature.h:23
EConvexFeatureType FeatureType
Definition ConvexFeature.h:34
int32 PlaneFeatureIndex
Definition ConvexFeature.h:31
int32 PlaneIndex
Definition ConvexFeature.h:26
Definition BodyInstance.h:90
EConvexFeatureType
Definition ConvexFeature.h:11