Home
last modified time | relevance | path

Searched refs:m_Value (Results 1 – 7 of 7) sorted by relevance

/NW4C-2.0.3/demos/snd/demolib/include/
Ddemolib.h140 m_Value( init ) in ParamInt()
145 std::snprintf( m_ValueStringBuffer, 16, "%7d", m_Value ); in GetValueString()
149 virtual f32 GetF32Value() const { return (f32)( m_Value ); } in GetF32Value()
150 virtual int GetIntValue() const { return m_Value; } in GetIntValue()
151 virtual bool GetBoolValue() const { return ( m_Value != 0 ); } in GetBoolValue()
153 virtual void Incr( int ratio ) { m_Value = nw::ut::Min( m_Value + m_Step * ratio, m_Max); } in Incr()
154 virtual void Decr( int ratio ) { m_Value = nw::ut::Max( m_Value - m_Step * ratio, m_Min); } in Decr()
155 virtual void Reset() { m_Value = m_Init; } in Reset()
158 int m_Init, m_Step, m_Min, m_Max, m_Value;
170 m_Value( init ) in ParamF32()
[all …]
/NW4C-2.0.3/sources/libraries/snd/
Dsnd_CurveAdshr.cpp101 m_Value = initDecibel * 10.0f; in Reset()
122 return m_Value/10.0f; in GetValue()
142 m_Value *= m_Attack; in Update()
145 if ( m_Value > - 1.0f / 32.0f ) in Update()
147 m_Value = 0.0f; in Update()
177 m_Value -= m_Decay * msec; in Update()
178 if ( m_Value < sustainDecay ) in Update()
180 m_Value = sustainDecay; in Update()
191 m_Value -= m_Release * msec; in Update()
/NW4C-2.0.3/include/nw/anim/res/
Danim_ResAnimCurve.h89 ut::ResF32 m_Value; member
93 f32 GetValue() const { return m_Value; } in GetValue()
110 ut::ResF32 m_Value; member
116 f32 GetValue() const { return m_Value; } in GetValue()
152 ut::ResF32 m_Value; member
157 f32 GetValue() const { return m_Value; } in GetValue()
165 ut::ResU16 m_Value; // m_Value * scale + offset member
170 f32 GetValue() const { return static_cast<f32>( m_Value ); } in GetValue()
379 ut::ResS32 m_Value; member
383 s32 GetValue() const { return m_Value; } in GetValue()
[all …]
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResShader.h52 nw::ut::ResF32 m_Value[1]; // UniformType によってこの後に可変長のデータが続きます。 member
167 const f32* GetValueF32() const { return &ref().m_Value[0]; } in NW_RES_FIELD_PRIMITIVE_DECL()
177 f32* GetValueF32() { return &ref().m_Value[0]; } in GetValueF32()
187 const s32* GetValueS32() const { return reinterpret_cast<const s32*>( &ref().m_Value[0] ); } in GetValueS32()
197 s32* GetValueS32() { return reinterpret_cast<s32*>( &ref().m_Value[0] ); } in GetValueS32()
204 … bool GetValueBool() const { return *reinterpret_cast<const s32*>( &ref().m_Value[0]) != 0; } in GetValueBool()
/NW4C-2.0.3/include/nw/snd/
Dsnd_CurveAdshr.h87 f32 m_Value; variable
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_Material.cpp408 shaderParameter->m_Parameter.m_Value[j] = resShaderParameterValue.ref().m_Value[j]; in CopyResMaterial()
/NW4C-2.0.3/sources/libraries/anim/res/
Danim_ResAnimCurve.cpp110 …c f32 GetValue( const ResFloatSegmentFVData*, const KeyType* pKey ) { return pKey->m_Value; } in GetValue()
303 return s32(pKey->m_Value); in GetValue()