载入中...
搜索中...
未找到
eve::climbing::runtime_detail 命名空间参考

类

class  RuntimeTelemetryScope
 RuntimeTelemetryScope public API. 更多...
 
struct  WarpChannels
 WarpChannels public API. 更多...
 

函数

template<class T >
void boundedDebugPush (std::vector< T > &values, T value)
 Bounded debug push.
 
bool isFinite (float value)
 True when finite.
 
bool isFinite (Vec3 value)
 True when finite.
 
float lengthSquared (Vec3 value)
 Length squared.
 
float length (Vec3 value)
 Length.
 
Vec3 operator+ (Vec3 lhs, Vec3 rhs)
 Operator +.
 
Vec3 operator- (Vec3 lhs, Vec3 rhs)
 Operator -.
 
Vec3 operator* (Vec3 value, float scale)
 Operator *.
 
Vec3 normalizedHorizontal (Vec3 value)
 Normalized horizontal.
 
Vec3 clampMagnitude (Vec3 value, float maximum)
 Clamp magnitude.
 
WarpChannels activeWarpChannels (const ClimbingActionDefinition &action, float normalizedTime)
 Active warp channels.
 
bool activeBranchWindow (const ClimbingActionDefinition &action, float normalizedTime)
 Active branch window.
 
const std::string * activeBranchComboTag (const ClimbingActionDefinition &action, float normalizedTime)
 Optional combo tag. @borrowed From action; lifetime ends when the caller-owned action changes or is destroyed.
 
float activeContactWeight (const ClimbingActionDefinition &action, ClimbingContactTarget target, float normalizedTime)
 Active contact weight.
 
Vec3 terminalVelocityFor (const ClimbingActionDefinition &action, Vec3 actualDelta, float inverseDelta)
 Terminal velocity for.
 
float finalWarpWindowEnd (const ClimbingActionDefinition &action)
 Final warp window end.
 
float signedHorizontalAngle (Vec3 from, Vec3 to)
 Signed horizontal angle.
 
bool isActivePhase (ClimbingPhase phase)
 True when active phase.
 
bool isRuntimeProbeKind (ClimbingActionKind kind)
 True when runtime probe kind.
 
bool isObstacleProbeKind (ClimbingActionKind kind)
 True when obstacle probe kind.
 
bool isAnchorHangEnd (ClimbingActionKind kind)
 True when anchor hang end.
 
std::int64_t quantizeMillimeters (float value)
 Quantize millimeters.
 
const ClimbingActionDefinition * findAction (const ClimbingProfile &profile, std::string_view id)
 Optional action. @borrowed From profile; lifetime ends when the caller-owned profile changes or is destroyed.
 
bool isCandidateLess (const ClimbingCandidate &lhs, const ClimbingCandidate &rhs)
 True when candidate less.
 
bool containsAnyTag (const std::vector< std::string > &actionTags, const std::vector< std::string > &policyTags)
 True if any tag.
 
bool isActionEnabledForPose (const ClimbingProfile &profile, const ClimbingActionDefinition &action, const ClimbingPose &pose)
 True when action enabled for pose.
 
bool isProbeRecipeMatchingKind (const ClimbingActionDefinition &action)
 True when probe recipe matching kind.
 
std::optional< int > parseTagSelector (std::string_view selector, std::string_view prefix)
 Parse tag selector.
 
bool isSupportSelectorMatch (const ClimbingActionDefinition &action, int shapeTag, int materialId)
 True when support selector match.
 
std::int64_t weightedMillimeters (float value, std::int32_t weight)
 Weighted millimeters.
 
std::int64_t selectionCost (const ClimbingProfile &profile, const ClimbingActionDefinition &action, const ClimbingPose &pose, Vec3 targetDirection, Vec3 targetDelta, float heightError, float distance, std::int64_t stableTieBreak=0)
 Selection cost.
 

变量

constexpr float epsilon = 1e-5f
 
constexpr std::size_t maxDebugEntries = 64
 

函数说明

◆ activeBranchComboTag()

const std::string * eve::climbing::runtime_detail::activeBranchComboTag ( const ClimbingActionDefinition &  action,
float  normalizedTime 
)
inline

Optional combo tag. @borrowed From action; lifetime ends when the caller-owned action changes or is destroyed.

在文件 ClimbingRuntimeInternal.h 第 103 行定义.

引用了 action , 以及 found.

被这些函数引用 eve::climbing::ClimbingRuntime::advance().

◆ activeBranchWindow()

bool eve::climbing::runtime_detail::activeBranchWindow ( const ClimbingActionDefinition &  action,
float  normalizedTime 
)
inline

Active branch window.

Any of.

在文件 ClimbingRuntimeInternal.h 第 94 行定义.

引用了 action.

被这些函数引用 eve::climbing::ClimbingRuntime::advance().

◆ activeContactWeight()

float eve::climbing::runtime_detail::activeContactWeight ( const ClimbingActionDefinition &  action,
ClimbingContactTarget  target,
float  normalizedTime 
)
inline

Active contact weight.

在文件 ClimbingRuntimeInternal.h 第 111 行定义.

引用了 action, epsilon, target , 以及 weight.

被这些函数引用 eve::climbing::ClimbingRuntime::advance().

◆ activeWarpChannels()

WarpChannels eve::climbing::runtime_detail::activeWarpChannels ( const ClimbingActionDefinition &  action,
float  normalizedTime 
)
inline

Active warp channels.

在文件 ClimbingRuntimeInternal.h 第 85 行定义.

引用了 action , 以及 epsilon.

被这些函数引用 eve::climbing::ClimbingRuntime::advance().

◆ boundedDebugPush()

template<class T >
void eve::climbing::runtime_detail::boundedDebugPush ( std::vector< T > &  values,
T  value 
)

Bounded debug push.

在文件 ClimbingRuntimeInternal.h 第 42 行定义.

引用了 maxDebugEntries, value , 以及 values.

被这些函数引用 eve::climbing::ClimbingRuntime::advance() , 以及 eve::climbing::ClimbingRuntime::probeInto().

◆ clampMagnitude()

Vec3 eve::climbing::runtime_detail::clampMagnitude ( Vec3  value,
float  maximum 
)
inline

Clamp magnitude.

在文件 ClimbingRuntimeInternal.h 第 72 行定义.

引用了 epsilon, length, maximum , 以及 value.

被这些函数引用 eve::climbing::ClimbingRuntime::advance().

◆ containsAnyTag()

bool eve::climbing::runtime_detail::containsAnyTag ( const std::vector< std::string > &  actionTags,
const std::vector< std::string > &  policyTags 
)
inline

True if any tag.

Any of.

Finds .

在文件 ClimbingRuntimeInternal.h 第 207 行定义.

引用了 tag.

被这些函数引用 isActionEnabledForPose().

◆ finalWarpWindowEnd()

float eve::climbing::runtime_detail::finalWarpWindowEnd ( const ClimbingActionDefinition &  action)
inline

Final warp window end.

在文件 ClimbingRuntimeInternal.h 第 139 行定义.

引用了 action.

被这些函数引用 eve::climbing::ClimbingRuntime::advance().

◆ findAction()

const ClimbingActionDefinition * eve::climbing::runtime_detail::findAction ( const ClimbingProfile &  profile,
std::string_view  id 
)
inline

Optional action. @borrowed From profile; lifetime ends when the caller-owned profile changes or is destroyed.

在文件 ClimbingRuntimeInternal.h 第 192 行定义.

引用了 action, eve::climbing::ClimbingProfileDefinition::actions , 以及 found.

被这些函数引用 eve::climbing::ClimbingRuntime::transitionAnchor(), eve::climbing::ClimbingRuntime::tryBeginAnchor() , 以及 eve::climbing::ClimbingRuntime::validateAnimationBinding().

◆ isActionEnabledForPose()

◆ isActivePhase()

bool eve::climbing::runtime_detail::isActivePhase ( ClimbingPhase  phase)
inline

◆ isAnchorHangEnd()

◆ isCandidateLess()

◆ isFinite() [1/2]

bool eve::climbing::runtime_detail::isFinite ( float  value)
inline

True when finite.

在文件 ClimbingRuntimeInternal.h 第 47 行定义.

引用了 value.

被这些函数引用 eve::climbing::ClimbingRuntime::advance(), isFinite() , 以及 eve::climbing::ClimbingRuntime::probeInto().

◆ isFinite() [2/2]

bool eve::climbing::runtime_detail::isFinite ( Vec3  value)
inline

True when finite.

在文件 ClimbingRuntimeInternal.h 第 50 行定义.

引用了 isFinite() , 以及 value.

◆ isObstacleProbeKind()

bool eve::climbing::runtime_detail::isObstacleProbeKind ( ClimbingActionKind  kind)
inline

True when obstacle probe kind.

在文件 ClimbingRuntimeInternal.h 第 168 行定义.

引用了 eve::climbing::ClimbUp, kind, eve::climbing::LedgeGrab, eve::climbing::Mantle , 以及 eve::climbing::Vault.

被这些函数引用 eve::climbing::ClimbingRuntime::probeInto().

◆ isProbeRecipeMatchingKind()

◆ isRuntimeProbeKind()

bool eve::climbing::runtime_detail::isRuntimeProbeKind ( ClimbingActionKind  kind)
inline

◆ isSupportSelectorMatch()

bool eve::climbing::runtime_detail::isSupportSelectorMatch ( const ClimbingActionDefinition &  action,
int  shapeTag,
int  materialId 
)
inline

True when support selector match.

在文件 ClimbingRuntimeInternal.h 第 254 行定义.

引用了 action , 以及 parseTagSelector().

被这些函数引用 eve::climbing::ClimbingRuntime::probeInto().

◆ length()

float eve::climbing::runtime_detail::length ( Vec3  value)
inline

Length.

在文件 ClimbingRuntimeInternal.h 第 55 行定义.

引用了 lengthSquared() , 以及 value.

◆ lengthSquared()

float eve::climbing::runtime_detail::lengthSquared ( Vec3  value)
inline

◆ normalizedHorizontal()

Vec3 eve::climbing::runtime_detail::normalizedHorizontal ( Vec3  value)
inline

Normalized horizontal.

在文件 ClimbingRuntimeInternal.h 第 65 行定义.

引用了 epsilon, length, lengthSquared(), value , 以及 eve::climbing::Vec3::y.

被这些函数引用 eve::climbing::ClimbingRuntime::probeInto(), selectionCost() , 以及 signedHorizontalAngle().

◆ operator*()

Vec3 eve::climbing::runtime_detail::operator* ( Vec3  value,
float  scale 
)
inline

Operator *.

在文件 ClimbingRuntimeInternal.h 第 62 行定义.

引用了 scale, value , 以及 eve::climbing::Vec3::x.

◆ operator+()

Vec3 eve::climbing::runtime_detail::operator+ ( Vec3  lhs,
Vec3  rhs 
)
inline

Operator +.

在文件 ClimbingRuntimeInternal.h 第 58 行定义.

引用了 eve::climbing::Vec3::x, eve::climbing::Vec3::y , 以及 eve::climbing::Vec3::z.

◆ operator-()

Vec3 eve::climbing::runtime_detail::operator- ( Vec3  lhs,
Vec3  rhs 
)
inline

Operator -.

在文件 ClimbingRuntimeInternal.h 第 60 行定义.

引用了 eve::climbing::Vec3::x, eve::climbing::Vec3::y , 以及 eve::climbing::Vec3::z.

◆ parseTagSelector()

std::optional< int > eve::climbing::runtime_detail::parseTagSelector ( std::string_view  selector,
std::string_view  prefix 
)
inline

Parse tag selector.

在文件 ClimbingRuntimeInternal.h 第 243 行定义.

引用了 value.

被这些函数引用 isSupportSelectorMatch().

◆ quantizeMillimeters()

std::int64_t eve::climbing::runtime_detail::quantizeMillimeters ( float  value)
inline

Quantize millimeters.

在文件 ClimbingRuntimeInternal.h 第 184 行定义.

引用了 value.

被这些函数引用 eve::climbing::ClimbingRuntime::probeInto() , 以及 weightedMillimeters().

◆ selectionCost()

std::int64_t eve::climbing::runtime_detail::selectionCost ( const ClimbingProfile &  profile,
const ClimbingActionDefinition &  action,
const ClimbingPose &  pose,
Vec3  targetDirection,
Vec3  targetDelta,
float  heightError,
float  distance,
std::int64_t  stableTieBreak = 0 
)
inline

◆ signedHorizontalAngle()

float eve::climbing::runtime_detail::signedHorizontalAngle ( Vec3  from,
Vec3  to 
)
inline

Signed horizontal angle.

Atan 2.

在文件 ClimbingRuntimeInternal.h 第 144 行定义.

引用了 epsilon, from, lengthSquared(), normalizedHorizontal() , 以及 to.

被这些函数引用 eve::climbing::ClimbingRuntime::advance().

◆ terminalVelocityFor()

Vec3 eve::climbing::runtime_detail::terminalVelocityFor ( const ClimbingActionDefinition &  action,
Vec3  actualDelta,
float  inverseDelta 
)
inline

◆ weightedMillimeters()

std::int64_t eve::climbing::runtime_detail::weightedMillimeters ( float  value,
std::int32_t  weight 
)
inline

Weighted millimeters.

Quantize millimeters.

在文件 ClimbingRuntimeInternal.h 第 268 行定义.

引用了 quantizeMillimeters(), value , 以及 weight.

被这些函数引用 selectionCost().

变量说明

◆ epsilon

◆ maxDebugEntries

constexpr std::size_t eve::climbing::runtime_detail::maxDebugEntries = 64
constexpr

在文件 ClimbingRuntimeInternal.h 第 14 行定义.

被这些函数引用 boundedDebugPush().