UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollectionSizeSpecificUtility.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
GeometryCollection/GeometryCollection.h
"
7
#include "
GeometryCollection/GeometryCollectionSimulationCoreTypes.h
"
8
#include "
Templates/SharedPointer.h
"
9
10
namespace
GeometryCollection
11
{
12
namespace
SizeSpecific
13
{
14
//
15
// Given a volume, return the first index of the size specific data that matches this volume.
16
//
17
int32
CHAOS_API
FindIndexForVolume
(
const
TArray<FSharedSimulationSizeSpecificData>
& SizeSpecificData,
Chaos::FReal
Volume
);
18
19
//
20
// Given a FBox, return the first index of the size specific data that matches this volume.
21
//
22
int32
CHAOS_API
FindIndexForVolume
(
const
TArray<FSharedSimulationSizeSpecificData>
& SizeSpecificData,
const
FBox
& Bounds);
23
24
}
25
}
Volume
int Volume
Definition
AndroidPlatformMisc.cpp:380
CoreMinimal.h
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
SharedPointer.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
GeometryCollectionSimulationCoreTypes.h
GeometryCollection.h
TArray
Definition
Array.h:670
Chaos::FReal
FRealDouble FReal
Definition
Real.h:22
GeometryCollection::SizeSpecific::FindIndexForVolume
int32 FindIndexForVolume(const TArray< FSharedSimulationSizeSpecificData > &SizeSpecificData, Chaos::FReal Volume)
Definition
GeometryCollectionSizeSpecificUtility.cpp:20
GeometryCollection
Definition
CollectionBoundsFacade.cpp:13
UE::Math::TBox< double >
Engine
Source
Runtime
Experimental
Chaos
Public
GeometryCollection
GeometryCollectionSizeSpecificUtility.h
Generated by
1.9.8