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

Function GetDirection

Source/PCGExtendedToolkit/Private/PCGExMath.cpp:138–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 FVector GetDirection(const FQuat& Quat, const EPCGExAxis Dir)
139 {
140 switch (Dir)
141 {
142 default:
143 case EPCGExAxis::Forward: return GetDirection<EPCGExAxis::Forward>(Quat);
144 case EPCGExAxis::Backward: return GetDirection<EPCGExAxis::Backward>(Quat);
145 case EPCGExAxis::Right: return GetDirection<EPCGExAxis::Right>(Quat);
146 case EPCGExAxis::Left: return GetDirection<EPCGExAxis::Left>(Quat);
147 case EPCGExAxis::Up: return GetDirection<EPCGExAxis::Up>(Quat);
148 case EPCGExAxis::Down: return GetDirection<EPCGExAxis::Down>(Quat);
149 }
150 }
151
152 FVector GetDirection(const EPCGExAxis Dir)
153 {

Callers 11

ProcessSinglePointMethod · 0.50
ProcessSinglePointMethod · 0.50
ProcessSinglePointMethod · 0.50
ProcessSinglePointMethod · 0.50
SampleMethod · 0.50
PrepareSinglePointMethod · 0.50
SampleMethod · 0.50
MutateMethod · 0.50
SampleMethod · 0.50
PrepareSinglePointMethod · 0.50
SampleMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected