group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
CharacterAnimator::Impl Struct Reference
Collaboration diagram for CharacterAnimator::Impl:
[legend]

Public Attributes

const CharacterRigrig = nullptr
const AnimationLibrarylibrary = nullptr
const ISkinningBackendskinner = nullptr
std::array< ozz::animation::SamplingJob::Context, kNumSamplerSlotscontexts
std::array< std::vector< ozz::math::SoaTransform >, kNumSamplerSlotsperSamplerLocals
std::vector< ozz::math::SoaTransform > blendedLocals
std::vector< ozz::math::Float4x4 > models
std::vector< glm::mat4 > skinMats
std::vector< glm::mat4 > jointModelMats
 Model-space matrices with procedural xforms, no IBM.
std::array< ClipSampler, kNumSamplerSlotssamplers {}
Mode currentMode = Mode::Locomotion
Mode previousMode = Mode::Locomotion
float modeBlendT = 1.0f
 0 = just switched (previous mode still dominant), 1 = fully in new mode.
float groupWeightOverride = 0.0f
 Actual (smoothed) weight of the override group.
float smoothedSpeed = 0.0f
float smoothedForwardSpeed = 0.0f
 Low-pass filtered forward velocity component (u/s).
float smoothedRightSpeed = 0.0f
 Low-pass filtered rightward velocity component (u/s).
float locomotionPhase = 0.0f
 Shared loco time ratio in [0, 1].
float overrideTime = 0.0f
 Independent time ratio for the override slot.
anim_locomotion::TransitionTracker transitionTracker
anim_locomotion::TransitionIntent activeTransition
ClipId activeTransitionClip = ClipId::_Count
float transitionElapsedSec = 0.0f
bool wallRunMirror = false
SpineBendChain spineBend
std::vector< bool > lowerBodyMask
std::vector< ozz::math::SimdFloat4 > locoJointWeights
std::vector< ozz::math::SimdFloat4 > strafeJointWeights
float strafeBlend = 0.0f
int hipsJointIdx = -1
 "mixamorig:Hips" index, drives the hip-lean coupling.
std::vector< bool > hipsDescendants
 Descendant mask for the hip-lean delta.
float recoilPitch = 0.0f
 Current additive pitch from recoil (decays each frame).
float breathingPhase = 0.0f
 Accumulated time for the breathing oscillator (s, wraps every 2*pi).
ArmChain leftArm
ArmChain rightArm
ClipId debugOverrideId = ClipId::_Count
float debugPlaybackSpeedMul = 1.0f
ClipId emoteClipId = ClipId::_Count
bool frozen = false
std::array< bool, static_cast< size_t >(ClipId::_Count)> missingClipLogged {}

Member Data Documentation

◆ activeTransition

anim_locomotion::TransitionIntent CharacterAnimator::Impl::activeTransition

◆ activeTransitionClip

ClipId CharacterAnimator::Impl::activeTransitionClip = ClipId::_Count

◆ blendedLocals

std::vector<ozz::math::SoaTransform> CharacterAnimator::Impl::blendedLocals

◆ breathingPhase

float CharacterAnimator::Impl::breathingPhase = 0.0f

Accumulated time for the breathing oscillator (s, wraps every 2*pi).

◆ contexts

std::array<ozz::animation::SamplingJob::Context, kNumSamplerSlots> CharacterAnimator::Impl::contexts

◆ currentMode

Mode CharacterAnimator::Impl::currentMode = Mode::Locomotion

◆ debugOverrideId

ClipId CharacterAnimator::Impl::debugOverrideId = ClipId::_Count

◆ debugPlaybackSpeedMul

float CharacterAnimator::Impl::debugPlaybackSpeedMul = 1.0f

◆ emoteClipId

ClipId CharacterAnimator::Impl::emoteClipId = ClipId::_Count

◆ frozen

bool CharacterAnimator::Impl::frozen = false

◆ groupWeightOverride

float CharacterAnimator::Impl::groupWeightOverride = 0.0f

Actual (smoothed) weight of the override group.

◆ hipsDescendants

std::vector<bool> CharacterAnimator::Impl::hipsDescendants

Descendant mask for the hip-lean delta.

◆ hipsJointIdx

int CharacterAnimator::Impl::hipsJointIdx = -1

"mixamorig:Hips" index, drives the hip-lean coupling.

◆ jointModelMats

std::vector<glm::mat4> CharacterAnimator::Impl::jointModelMats

Model-space matrices with procedural xforms, no IBM.

◆ leftArm

ArmChain CharacterAnimator::Impl::leftArm

◆ library

const AnimationLibrary* CharacterAnimator::Impl::library = nullptr

◆ locoJointWeights

std::vector<ozz::math::SimdFloat4> CharacterAnimator::Impl::locoJointWeights

◆ locomotionPhase

float CharacterAnimator::Impl::locomotionPhase = 0.0f

Shared loco time ratio in [0, 1].

◆ lowerBodyMask

std::vector<bool> CharacterAnimator::Impl::lowerBodyMask

◆ missingClipLogged

std::array<bool, static_cast<size_t>(ClipId::_Count)> CharacterAnimator::Impl::missingClipLogged {}

◆ modeBlendT

float CharacterAnimator::Impl::modeBlendT = 1.0f

0 = just switched (previous mode still dominant), 1 = fully in new mode.

◆ models

std::vector<ozz::math::Float4x4> CharacterAnimator::Impl::models

◆ overrideTime

float CharacterAnimator::Impl::overrideTime = 0.0f

Independent time ratio for the override slot.

◆ perSamplerLocals

std::array<std::vector<ozz::math::SoaTransform>, kNumSamplerSlots> CharacterAnimator::Impl::perSamplerLocals

◆ previousMode

Mode CharacterAnimator::Impl::previousMode = Mode::Locomotion

◆ recoilPitch

float CharacterAnimator::Impl::recoilPitch = 0.0f

Current additive pitch from recoil (decays each frame).

◆ rig

const CharacterRig* CharacterAnimator::Impl::rig = nullptr

◆ rightArm

ArmChain CharacterAnimator::Impl::rightArm

◆ samplers

std::array<ClipSampler, kNumSamplerSlots> CharacterAnimator::Impl::samplers {}

◆ skinMats

std::vector<glm::mat4> CharacterAnimator::Impl::skinMats

◆ skinner

const ISkinningBackend* CharacterAnimator::Impl::skinner = nullptr

◆ smoothedForwardSpeed

float CharacterAnimator::Impl::smoothedForwardSpeed = 0.0f

Low-pass filtered forward velocity component (u/s).

◆ smoothedRightSpeed

float CharacterAnimator::Impl::smoothedRightSpeed = 0.0f

Low-pass filtered rightward velocity component (u/s).

◆ smoothedSpeed

float CharacterAnimator::Impl::smoothedSpeed = 0.0f

◆ spineBend

SpineBendChain CharacterAnimator::Impl::spineBend

◆ strafeBlend

float CharacterAnimator::Impl::strafeBlend = 0.0f

◆ strafeJointWeights

std::vector<ozz::math::SimdFloat4> CharacterAnimator::Impl::strafeJointWeights

◆ transitionElapsedSec

float CharacterAnimator::Impl::transitionElapsedSec = 0.0f

◆ transitionTracker

anim_locomotion::TransitionTracker CharacterAnimator::Impl::transitionTracker

◆ wallRunMirror

bool CharacterAnimator::Impl::wallRunMirror = false

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