类 | |
| 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()
|
inline |
Optional combo tag. @borrowed From action; lifetime ends when the caller-owned action changes or is destroyed.
在文件 ClimbingRuntimeInternal.h 第 103 行定义.
◆ activeBranchWindow()
|
inline |
◆ activeContactWeight()
|
inline |
◆ activeWarpChannels()
|
inline |
Active warp channels.
在文件 ClimbingRuntimeInternal.h 第 85 行定义.
◆ boundedDebugPush()
| 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()
◆ containsAnyTag()
|
inline |
True if any tag.
Any of.
Finds .
在文件 ClimbingRuntimeInternal.h 第 207 行定义.
引用了 tag.
被这些函数引用 isActionEnabledForPose().
◆ finalWarpWindowEnd()
|
inline |
◆ findAction()
|
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()
|
inline |
True when action enabled for pose.
在文件 ClimbingRuntimeInternal.h 第 216 行定义.
引用了 action, eve::climbing::Airborne, eve::climbing::ClimbingProfileDefinition::allowedActionTags, containsAnyTag(), eve::climbing::ClimbingProfileDefinition::defaultActionIds, eve::climbing::ClimbingProfileDefinition::deniedActionTags, eve::climbing::Grounded, pose , 以及 required.
◆ isActivePhase()
|
inline |
True when active phase.
在文件 ClimbingRuntimeInternal.h 第 155 行定义.
引用了 eve::climbing::Cancelled, eve::climbing::Completed, eve::climbing::Failed, eve::climbing::Idle , 以及 phase.
被这些函数引用 eve::climbing::ClimbingRuntime::advance() , 以及 eve::climbing::ClimbingRuntime::cancel().
◆ isAnchorHangEnd()
|
inline |
True when anchor hang end.
在文件 ClimbingRuntimeInternal.h 第 174 行定义.
引用了 eve::climbing::BarSwing, eve::climbing::BeamBalance, eve::climbing::ClimbDown, eve::climbing::CornerInner, eve::climbing::CornerOuter, kind, eve::climbing::LadderClimb, eve::climbing::LadderMount, eve::climbing::LedgeGrab, eve::climbing::LedgeJump, eve::climbing::PoleSwing , 以及 eve::climbing::Shimmy.
◆ isCandidateLess()
|
inline |
True when candidate less.
在文件 ClimbingRuntimeInternal.h 第 199 行定义.
引用了 eve::climbing::ClimbingCandidate::actionId, eve::climbing::ClimbingCandidate::obstacleBodyId, eve::climbing::ClimbingCandidate::obstacleShapeId , 以及 eve::climbing::ClimbingCandidate::score.
被这些函数引用 eve::climbing::ClimbingCandidateSet::considerWithActionId() , 以及 eve::climbing::ClimbingCandidateSet::sortAndLimit().
◆ isFinite() [1/2]
|
inline |
True when finite.
在文件 ClimbingRuntimeInternal.h 第 47 行定义.
引用了 value.
被这些函数引用 eve::climbing::ClimbingRuntime::advance(), isFinite() , 以及 eve::climbing::ClimbingRuntime::probeInto().
◆ isFinite() [2/2]
|
inline |
◆ isObstacleProbeKind()
|
inline |
True when obstacle probe kind.
在文件 ClimbingRuntimeInternal.h 第 168 行定义.
引用了 eve::climbing::ClimbUp, kind, eve::climbing::LedgeGrab, eve::climbing::Mantle , 以及 eve::climbing::Vault.
◆ isProbeRecipeMatchingKind()
|
inline |
True when probe recipe matching kind.
在文件 ClimbingRuntimeInternal.h 第 228 行定义.
引用了 action, eve::climbing::AnchorGraph, eve::climbing::Automatic, eve::climbing::ClimbUp, eve::climbing::Ground, isRuntimeProbeKind(), eve::climbing::Ledge, eve::climbing::LedgeGrab, eve::climbing::Mantle, eve::climbing::Obstacle, eve::climbing::Slide, eve::climbing::Vault, eve::climbing::Wall , 以及 eve::climbing::WallRun.
◆ isRuntimeProbeKind()
|
inline |
True when runtime probe kind.
在文件 ClimbingRuntimeInternal.h 第 161 行定义.
引用了 eve::climbing::ClimbUp, kind, eve::climbing::LedgeGrab, eve::climbing::Mantle, eve::climbing::Slide, eve::climbing::Vault , 以及 eve::climbing::WallRun.
被这些函数引用 isProbeRecipeMatchingKind() , 以及 eve::climbing::ClimbingRuntime::probeInto().
◆ isSupportSelectorMatch()
|
inline |
True when support selector match.
在文件 ClimbingRuntimeInternal.h 第 254 行定义.
引用了 action , 以及 parseTagSelector().
◆ length()
|
inline |
◆ lengthSquared()
|
inline |
Length squared.
在文件 ClimbingRuntimeInternal.h 第 53 行定义.
引用了 value.
被这些函数引用 length(), normalizedHorizontal(), eve::climbing::ClimbingRuntime::probeInto(), selectionCost(), signedHorizontalAngle() , 以及 eve::climbing::validateClimbingAnchorGraphDefinition().
◆ normalizedHorizontal()
Normalized horizontal.
在文件 ClimbingRuntimeInternal.h 第 65 行定义.
引用了 epsilon, length, lengthSquared(), value , 以及 eve::climbing::Vec3::y.
被这些函数引用 eve::climbing::ClimbingRuntime::probeInto(), selectionCost() , 以及 signedHorizontalAngle().
◆ operator*()
◆ operator+()
Operator +.
在文件 ClimbingRuntimeInternal.h 第 58 行定义.
引用了 eve::climbing::Vec3::x, eve::climbing::Vec3::y , 以及 eve::climbing::Vec3::z.
◆ operator-()
Operator -.
在文件 ClimbingRuntimeInternal.h 第 60 行定义.
引用了 eve::climbing::Vec3::x, eve::climbing::Vec3::y , 以及 eve::climbing::Vec3::z.
◆ parseTagSelector()
|
inline |
Parse tag selector.
在文件 ClimbingRuntimeInternal.h 第 243 行定义.
引用了 value.
被这些函数引用 isSupportSelectorMatch().
◆ quantizeMillimeters()
|
inline |
Quantize millimeters.
在文件 ClimbingRuntimeInternal.h 第 184 行定义.
引用了 value.
被这些函数引用 eve::climbing::ClimbingRuntime::probeInto() , 以及 weightedMillimeters().
◆ selectionCost()
|
inline |
Selection cost.
Normalized horizontal.
Clamp.
Weighted millimeters.
Weighted millimeters.
Weighted millimeters.
Weighted millimeters.
Weighted millimeters.
Weighted millimeters.
Weighted millimeters.
在文件 ClimbingRuntimeInternal.h 第 274 行定义.
引用了 action, eve::climbing::ClimbingScoreWeights::approachSpeed, eve::climbing::ClimbingProfileDefinition::autoAssistStrength, eve::climbing::ClimbingScoreWeights::direction, eve::climbing::ClimbingScoreWeights::distance, distance, epsilon, eve::climbing::ClimbingScoreWeights::height, eve::climbing::ClimbingScoreWeights::intentMismatch, lengthSquared(), normalizedHorizontal(), pose, eve::climbing::Precision, eve::climbing::ClimbingProfileDefinition::scoreWeights, eve::climbing::ClimbingScoreWeights::warpRotation, eve::climbing::ClimbingScoreWeights::warpTranslation, weightedMillimeters(), eve::climbing::Vec3::x, eve::climbing::Vec3::y , 以及 eve::climbing::Vec3::z.
◆ signedHorizontalAngle()
Signed horizontal angle.
Atan 2.
在文件 ClimbingRuntimeInternal.h 第 144 行定义.
引用了 epsilon, from, lengthSquared(), normalizedHorizontal() , 以及 to.
◆ terminalVelocityFor()
|
inline |
Terminal velocity for.
在文件 ClimbingRuntimeInternal.h 第 123 行定义.
引用了 action, eve::climbing::ClampDownward, eve::climbing::MatchGround, eve::climbing::Preserve, eve::climbing::PreserveMomentum, eve::climbing::Stop, eve::climbing::Vec3::y , 以及 eve::climbing::Zero.
◆ weightedMillimeters()
|
inline |
Weighted millimeters.
Quantize millimeters.
在文件 ClimbingRuntimeInternal.h 第 268 行定义.
引用了 quantizeMillimeters(), value , 以及 weight.
被这些函数引用 selectionCost().
变量说明
◆ epsilon
|
constexpr |
在文件 ClimbingRuntimeInternal.h 第 13 行定义.
被这些函数引用 activeContactWeight(), activeWarpChannels(), eve::climbing::ClimbingRuntime::advance(), clampMagnitude(), normalizedHorizontal(), eve::climbing::ClimbingRuntime::probeInto(), selectionCost(), signedHorizontalAngle(), eve::climbing::ClimbingRuntime::transitionAnchor() , 以及 eve::climbing::ClimbingRuntime::tryBeginAnchor().
◆ maxDebugEntries
|
constexpr |
在文件 ClimbingRuntimeInternal.h 第 14 行定义.
被这些函数引用 boundedDebugPush().