Navigation
API > API/Developer > API/Developer/NaniteUtilities
Same as above but use function references as original nanite code
| Name | DisplacementPolicyFunctor |
| Type | class |
| Header File | /Engine/Source/Developer/NaniteUtilities/Public/AdaptiveTessellatorDisplace.h |
| Include Path | #include "AdaptiveTessellatorDisplace.h" |
Syntax
class DisplacementPolicyFunctor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DisplacementPolicyFunctor
(
FMinimalMesh& InMesh, |
AdaptiveTessellatorDisplace.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBoundsFunc | TFunctionRef< FVector2f( const FVector3f[3], const FLerpVert &, const FLerpVert &, const FLerpVert &, const FVector3f &, const FVector3f &, const FVector3f &, int32) > | AdaptiveTessellatorDisplace.h | |
| FDispFunc | TFunctionRef< FVector3f( const FVector3f &, const FLerpVert &, const FLerpVert &, const FLerpVert &, int32) > | AdaptiveTessellatorDisplace.h | |
| FIndex3i | UE::Geometry::FIndex3i | AdaptiveTessellatorDisplace.h | |
| FNumFunc | TFunctionRef< int32( const FVector3f[3], const FLerpVert &, const FLerpVert &, const FLerpVert &, int32) > | AdaptiveTessellatorDisplace.h | |
| FVectorDispFunc | TFunctionRef< FVector3f( const FVector3f &, const FVector2f &, const FVector2f &, const FVector2f &)> | AdaptiveTessellatorDisplace.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GetDisplacementFunc | FDispFunc | AdaptiveTessellatorDisplace.h | ||
| GetErrorBoundsFunc | FBoundsFunc | AdaptiveTessellatorDisplace.h | ||
| GetNumSamplesFunc | FNumFunc | AdaptiveTessellatorDisplace.h | ||
| GetVectorDisplacementFunc | FVectorDispFunc | AdaptiveTessellatorDisplace.h | ||
| Mesh | const FMinimalMesh & | AdaptiveTessellatorDisplace.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector3f GetDisplacement
(
const FVector3f Barycentrics, |
AdaptiveTessellatorDisplace.h | ||
FVector2f GetErrorBounds
(
const FVector3f*const Barycentrics, |
AdaptiveTessellatorDisplace.h | ||
int32 GetNumSamples
(
const FVector3f*const Barycentrics, |
AdaptiveTessellatorDisplace.h | ||
FVector3f GetVertexDisplacement
(
const int32 VertexIndex, |
AdaptiveTessellatorDisplace.h |