Home
last modified time | relevance | path

Searched defs:ResFloatKeyFVSS64Data (Results 1 – 1 of 1) sorted by relevance

/NW4C-1.2.23/include/nw/anim/res/
Danim_ResAnimCurve.h114 struct ResFloatKeyFVSS64Data struct
116 ut::ResU32 m_FrameValue; // u12 m_Frame; u20 m_Value * scale + offset;
117 ut::ResS16 m_InSlope; // fx7.8
118 ut::ResS16 m_OutSlope; // fx7.8
120 u32 GetFrame() const { return m_FrameValue & 0x00000FFF; } in GetFrame()
121 f32 GetFrameF32() const { return static_cast<f32>( this->GetFrame() ); } in GetFrameF32()
122 f32 GetValue() const { return static_cast<f32>( m_FrameValue >> 12 ); } in GetValue()
123 f32 GetInSlope() const { return internal::CastS7_8ToF32(m_InSlope); } in GetInSlope()
124 f32 GetOutSlope() const { return internal::CastS7_8ToF32(m_OutSlope); } in GetOutSlope()