MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / GetLocalBounds

Function GetLocalBounds

Source/PCGExtendedToolkit/Private/PCGExMath.cpp:56–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 FBox GetLocalBounds(const FPCGPoint& Point, const EPCGExPointBoundsSource Source)
57 {
58 switch (Source)
59 {
60 case EPCGExPointBoundsSource::ScaledBounds: return GetLocalBounds<EPCGExPointBoundsSource::ScaledBounds>(Point);
61 case EPCGExPointBoundsSource::DensityBounds: return GetLocalBounds<EPCGExPointBoundsSource::Bounds>(Point);
62 case EPCGExPointBoundsSource::Bounds: return GetLocalBounds<EPCGExPointBoundsSource::DensityBounds>(Point);
63 case EPCGExPointBoundsSource::Center: return GetLocalBounds<EPCGExPointBoundsSource::Center>(Point);
64 default: return FBox(FVector::OneVector * -1, FVector::OneVector);
65 }
66 }
67
68 FBox GetLocalBounds(const FPCGPoint* Point, const EPCGExPointBoundsSource Source)
69 {

Callers 3

ProcessSinglePointMethod · 0.50
GetPositionMethod · 0.50
ProcessSinglePointMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected