Home
last modified time | relevance | path

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

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