構成 | |
struct | CriAtomExTweenConfigTag |
トゥイーン作成用コンフィグ構造体 [詳細] | |
マクロ定義 | |
#define | criAtomExTween_SetDefaultConfig(p_config) |
トゥイーン作成用コンフィグ構造体にデフォルト値をセット | |
型定義 | |
typedef enum CriAtomExTweenParameterTypeTag | CriAtomExTweenParameterType |
Tweenのパラメータータイプ | |
typedef CriAtomExTweenConfigTag | CriAtomExTweenConfig |
トゥイーン作成用コンフィグ構造体 | |
typedef CriAtomExTweenTag * | CriAtomExTweenHn |
トゥイーンハンドル | |
列挙型 | |
enum | CriAtomExTweenParameterTypeTag { CRIATOMEX_PARAMETER_TYPE_BASIC, CRIATOMEX_PARAMETER_TYPE_AISAC } |
Tweenのパラメータータイプ [詳細] | |
関数 | |
CriSint32 CRIAPI | criAtomExTween_CalculateWorkSize (const CriAtomExTweenConfig *config) |
トゥイーンの作成に必要なワーク領域サイズの計算 | |
CriAtomExTweenHn CRIAPI | criAtomExTween_Create (const CriAtomExTweenConfig *config, void *work, CriSint32 work_size) |
トゥイーンの作成 | |
void CRIAPI | criAtomExTween_Destroy (CriAtomExTweenHn tween) |
トゥイーンの破棄 | |
CriFloat32 CRIAPI | criAtomExTween_GetValue (CriAtomExTweenHn tween) |
現在値の取得 | |
void CRIAPI | criAtomExTween_MoveTo (CriAtomExTweenHn tween, CriUint16 time_ms, CriFloat32 value) |
現在値から指定値に変化 | |
void CRIAPI | criAtomExTween_MoveFrom (CriAtomExTweenHn tween, CriUint16 time_ms, CriFloat32 value) |
指定値から現在値に変化 | |
void CRIAPI | criAtomExTween_Stop (CriAtomExTweenHn tween) |
トゥイーンの停止 | |
void CRIAPI | criAtomExTween_Reset (CriAtomExTweenHn tween) |
トゥイーンのリセット |
#define criAtomExTween_SetDefaultConfig | ( | p_config | ) |
値:
{\ (p_config)->id.parameter_id = CRIATOMEX_PARAMETER_ID_VOLUME;\ (p_config)->parameter_type = CRIATOMEX_PARAMETER_TYPE_BASIC;\ }
[out] | p_config | コンフィグ構造体へのポインタ |
typedef struct CriAtomExTweenConfigTag CriAtomExTweenConfig |
トゥイーン作成用コンフィグ構造体
typedef struct CriAtomExTweenTag* CriAtomExTweenHn |
トゥイーンハンドル
Tweenのパラメータータイプ
CriSint32 CRIAPI criAtomExTween_CalculateWorkSize | ( | const CriAtomExTweenConfig * | config | ) |
トゥイーンの作成に必要なワーク領域サイズの計算
[in] | config | トゥイーン作成用コンフィグ構造体 |
0以上 | 正常に処理が完了 | |
-1 | エラーが発生 |
CriAtomExTweenHn CRIAPI criAtomExTween_Create | ( | const CriAtomExTweenConfig * | config, | |
void * | work, | |||
CriSint32 | work_size | |||
) |
トゥイーンの作成
[in] | config | トゥイーン作成用コンフィグ構造体へのポインタ |
[in] | work | トゥイーン作成用ワーク領域へのポインタ |
[in] | work_size | トゥイーン作成用ワークサイズ |
void CRIAPI criAtomExTween_Destroy | ( | CriAtomExTweenHn | tween | ) |
トゥイーンの破棄
[in] | tween | トゥイーンハンドル |
CriFloat32 CRIAPI criAtomExTween_GetValue | ( | CriAtomExTweenHn | tween | ) |
現在値の取得
[in] | tween | トゥイーンハンドル |
void CRIAPI criAtomExTween_MoveTo | ( | CriAtomExTweenHn | tween, | |
CriUint16 | time_ms, | |||
CriFloat32 | value | |||
) |
現在値から指定値に変化
[in] | tween | トゥイーンハンドル |
[in] | time_ms | 変化に要する時間(ミリ秒単位) |
[in] | value | 変化後の最終値 |
void CRIAPI criAtomExTween_MoveFrom | ( | CriAtomExTweenHn | tween, | |
CriUint16 | time_ms, | |||
CriFloat32 | value | |||
) |
指定値から現在値に変化
[in] | tween | トゥイーンハンドル |
[in] | time_ms | 変化に要する時間(ミリ秒単位) |
[in] | value | 変化前の開始値 |
void CRIAPI criAtomExTween_Stop | ( | CriAtomExTweenHn | tween | ) |
トゥイーンの停止
[in] | tween | トゥイーンハンドル |
void CRIAPI criAtomExTween_Reset | ( | CriAtomExTweenHn | tween | ) |
トゥイーンのリセット
[in] | tween | トゥイーンハンドル |