CRI ADX
Last Updated: 2024-07-17 10:48 p
|
结构体 | |
struct | CriAtomExTweenConfigTag |
Configuration structure used to create a Tween 更多... | |
宏定义 | |
#define | criAtomExTween_SetDefaultConfig(p_config) |
Assign the default values to the configuration structure used to create a Tween 更多... | |
类型定义 | |
typedef enum CriAtomExTweenParameterTypeTag | CriAtomExTweenParameterType |
Parameter type for a Tween 更多... | |
typedef struct CriAtomExTweenConfigTag | CriAtomExTweenConfig |
Configuration structure used to create a Tween 更多... | |
typedef struct CriAtomExTweenTag * | CriAtomExTweenHn |
Tween handle 更多... | |
枚举 | |
enum | CriAtomExTweenParameterTypeTag { CRIATOMEX_PARAMETER_TYPE_BASIC , CRIATOMEX_PARAMETER_TYPE_AISAC , CRIATOMEX_PARAMETER_TYPE_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF } |
Parameter type for a Tween 更多... | |
函数 | |
CriSint32 | criAtomExTween_CalculateWorkSize (const CriAtomExTweenConfig *config) |
Calculate the size of the work buffer required to create a Tween 更多... | |
CriAtomExTweenHn | criAtomExTween_Create (const CriAtomExTweenConfig *config, void *work, CriSint32 work_size) |
Create Tween 更多... | |
void | criAtomExTween_Destroy (CriAtomExTweenHn tween) |
Destroy a Tween 更多... | |
CriFloat32 | criAtomExTween_GetValue (CriAtomExTweenHn tween) |
Get the current value of the Tween 更多... | |
void | criAtomExTween_MoveTo (CriAtomExTweenHn tween, CriUint16 time_ms, CriFloat32 value) |
Smoothly change the current value of the parameter to the specified value 更多... | |
void | criAtomExTween_MoveFrom (CriAtomExTweenHn tween, CriUint16 time_ms, CriFloat32 value) |
Smoothly change the specified value to the current value 更多... | |
void | criAtomExTween_Stop (CriAtomExTweenHn tween) |
Stop the Tween 更多... | |
void | criAtomExTween_Reset (CriAtomExTweenHn tween) |
Reset the Tween 更多... | |
#define criAtomExTween_SetDefaultConfig | ( | p_config | ) |
Assign the default values to the configuration structure used to create a Tween
[out] | p_config | pointer to the configuration structure used to create a Tween |
Parameter type for a Tween
typedef struct CriAtomExTweenConfigTag CriAtomExTweenConfig |
Configuration structure used to create a Tween
typedef struct CriAtomExTweenTag* CriAtomExTweenHn |
Tween handle
Parameter type for a Tween
CriSint32 criAtomExTween_CalculateWorkSize | ( | const CriAtomExTweenConfig * | config | ) |
Calculate the size of the work buffer required to create a Tween
[in] | config | configuration structure used to create a Tween |
>= | 0 successfully completed |
-1 | error occurred |
CriAtomExTweenHn criAtomExTween_Create | ( | const CriAtomExTweenConfig * | config, |
void * | work, | ||
CriSint32 | work_size | ||
) |
Create Tween
[in] | config | configuration structure used to create a Tween |
[in] | work | work buffer |
[in] | work_size | work buffer size |
void criAtomExTween_Destroy | ( | CriAtomExTweenHn | tween | ) |
Destroy a Tween
[in] | tween | Tween handle |
CriFloat32 criAtomExTween_GetValue | ( | CriAtomExTweenHn | tween | ) |
Get the current value of the Tween
[in] | tween | Tween handle |
void criAtomExTween_MoveTo | ( | CriAtomExTweenHn | tween, |
CriUint16 | time_ms, | ||
CriFloat32 | value | ||
) |
Smoothly change the current value of the parameter to the specified value
[in] | tween | Tween handle |
[in] | time_ms | time over which the change is made (in milliseconds) |
[in] | value | final value |
void criAtomExTween_MoveFrom | ( | CriAtomExTweenHn | tween, |
CriUint16 | time_ms, | ||
CriFloat32 | value | ||
) |
Smoothly change the specified value to the current value
[in] | tween | Tween handle |
[in] | time_ms | time over which the change is made (in milliseconds) |
[in] | value | initial value |
void criAtomExTween_Stop | ( | CriAtomExTweenHn | tween | ) |
Stop the Tween
[in] | tween | Tween handle |
void criAtomExTween_Reset | ( | CriAtomExTweenHn | tween | ) |
Reset the Tween
[in] | tween | Tween handle |