Home
last modified time | relevance | path

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

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