OROCHI
 
Loading...
Searching...
No Matches
GxInterpolationSetting Struct Reference

補間の設定を保持するクラス More...

#include <GxInterpolationSetting.h>

Inheritance diagram for GxInterpolationSetting:
Collaboration diagram for GxInterpolationSetting:

Public Member Functions

定義
 GX_OPERATOR_NEW_DELETE_USE_ARRAY (GxAllocatorList::ALLOCATOR_TYPE::UNIT)
 
初期化
 GxInterpolationSetting (void)
 デフォルトコンストラクタ
 
 GxInterpolationSetting (f32 frameNumber, INTERPOLATE type, f32 curvature)
 コンストラクタ
 
操作
f32 getRatio (f32 frameElapsed)
 比率を計算
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Public Attributes

メンバ変数
f32 _frameNumber
 補間のフレーム数
 
INTERPOLATE _type
 補間のタイプ
 
f32 _curvature
 正弦波あるいは反比例の補間の時使う曲率
 
b32 _updateOldDuringInterpolate
 補間中先のモーションを更新するか
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

補間の設定を保持するクラス

Constructor & Destructor Documentation

◆ GxInterpolationSetting()

GxInterpolationSetting::GxInterpolationSetting ( f32 frameNumber,
INTERPOLATE type,
f32 curvature )

コンストラクタ

Parameters
frameNumber[in] 補間フレーム数
type[in] 補間タイプ
curvature[in] 曲率

Member Function Documentation

◆ getRatio()

f32 GxInterpolationSetting::getRatio ( f32 frameElapsed)

比率を計算

Parameters
frameElapsed[in] 過ごしたフレーム数
Returns
比率
Here is the call graph for this function:
Here is the caller graph for this function:

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