CRI ADX
Last Updated: 2024-07-17 10:47 p
|
Data Structures | |
struct | CriAtomExTweenConfigTag |
Configuration structure used to create a Tween. More... | |
Macros | |
#define | criAtomExTween_SetDefaultConfig(p_config) |
Assign the default values to the configuration structure used to create a Tween. More... | |
Typedefs | |
typedef enum CriAtomExTweenParameterTypeTag | CriAtomExTweenParameterType |
Parameter type for a Tween. More... | |
typedef struct CriAtomExTweenConfigTag | CriAtomExTweenConfig |
Configuration structure used to create a Tween. More... | |
typedef struct CriAtomExTweenTag * | CriAtomExTweenHn |
Tween handle. More... | |
Enumerations | |
enum | CriAtomExTweenParameterTypeTag { CRIATOMEX_PARAMETER_TYPE_BASIC , CRIATOMEX_PARAMETER_TYPE_AISAC , CRIATOMEX_PARAMETER_TYPE_ENUM_SIZE_IS_4BYTES = 0x7FFFFFFF } |
Parameter type for a Tween. More... | |
Functions | |
CriSint32 | criAtomExTween_CalculateWorkSize (const CriAtomExTweenConfig *config) |
Calculate the size of the work buffer required to create a Tween. More... | |
CriAtomExTweenHn | criAtomExTween_Create (const CriAtomExTweenConfig *config, void *work, CriSint32 work_size) |
Create Tween. More... | |
void | criAtomExTween_Destroy (CriAtomExTweenHn tween) |
Destroy a Tween. More... | |
CriFloat32 | criAtomExTween_GetValue (CriAtomExTweenHn tween) |
Get the current value of the Tween. More... | |
void | criAtomExTween_MoveTo (CriAtomExTweenHn tween, CriUint16 time_ms, CriFloat32 value) |
Smoothly change the current value of the parameter to the specified value. More... | |
void | criAtomExTween_MoveFrom (CriAtomExTweenHn tween, CriUint16 time_ms, CriFloat32 value) |
Smoothly change the specified value to the current value. More... | |
void | criAtomExTween_Stop (CriAtomExTweenHn tween) |
Stop the Tween. More... | |
void | criAtomExTween_Reset (CriAtomExTweenHn tween) |
Reset the Tween. More... | |
#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 |