UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAnimPhysShape Struct Reference

#include <AnimPhysicsSolver.h>

Public Member Functions

ENGINE_API FAnimPhysShape ()
 
ENGINE_API FAnimPhysShape (TArray< FVector > &InVertices, TArray< FIntVector > &InTriangles)
 
ENGINE_API void TransformVerts (FTransform &InTransform)
 

Static Public Member Functions

static ENGINE_API FAnimPhysShape MakeBox (const FVector &Extents)
 

Public Attributes

TArray< FVectorVertices
 
TArray< FIntVectorTriangles
 
float Volume
 
FVector CenterOfMass
 

Constructor & Destructor Documentation

◆ FAnimPhysShape() [1/2]

FAnimPhysShape::FAnimPhysShape ( )

◆ FAnimPhysShape() [2/2]

FAnimPhysShape::FAnimPhysShape ( TArray< FVector > &  InVertices,
TArray< FIntVector > &  InTriangles 
)

Member Function Documentation

◆ MakeBox()

FAnimPhysShape FAnimPhysShape::MakeBox ( const FVector Extents)
static

Makes a box with the given extents

Parameters
ExtentsExtents of the resulting box

◆ TransformVerts()

void FAnimPhysShape::TransformVerts ( FTransform InTransform)

Transforms each vertex in the shape

Parameters
InTransformTransform to apply to the verts

Member Data Documentation

◆ CenterOfMass

FVector FAnimPhysShape::CenterOfMass

◆ Triangles

TArray<FIntVector> FAnimPhysShape::Triangles

◆ Vertices

TArray<FVector> FAnimPhysShape::Vertices

◆ Volume

float FAnimPhysShape::Volume

The documentation for this struct was generated from the following files: