IAAFCompositionMob is DEPRECATED, please use IAAFCompositionMob2. More...
Public Member Functions | |
HRESULT | Initialize ([in, string] aafCharacter_constptr pName) |
Initializes this object with the given name. | |
HRESULT | GetDefaultFade ([out] aafDefaultFade_t *pResult) |
Get the default fade for this composition. | |
HRESULT | SetDefaultFade ([in] aafLength_t fadeLength,[in] aafFadeType_t fadeType,[in] aafRational_t fadeEditUnit) |
Adds the default crossfade properties to the Mob. |
IAAFCompositionMob is DEPRECATED, please use IAAFCompositionMob2.
The IAAFCompositionMob interface is implemented on objects which can specify how to combine content data elements into a sequence, how to modify content data elements, and how to synchronize content data elements.
In addition to the specific error results listed for each method, all methods in this interface may also return one of the following values:
AAFRESULT_NOMEMORY
HRESULT IAAFCompositionMob::GetDefaultFade | ( | [out] aafDefaultFade_t * | pResult | ) |
Get the default fade for this composition.
If there is no default fade, this function returns with no error, but the VALID field of the structure is false. This allows you to pass this struct to SourceClip::GetFade() in all cases.
Succeeds if all of the following are true:
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_NULL_PARAM
pResult | [out] a default fade struct |
HRESULT IAAFCompositionMob::Initialize | ( | [in, string] aafCharacter_constptr | pName | ) |
Initializes this object with the given name.
Succeeds if all of the following are true:
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_ALREADY_INITIALIZED
AAFRESULT_NULL_PARAM
pName | [in, string] Mob name [optional] |
HRESULT IAAFCompositionMob::SetDefaultFade | ( | [in] aafLength_t | fadeLength, |
[in] aafFadeType_t | fadeType, | ||
[in] aafRational_t | fadeEditUnit | ||
) |
Adds the default crossfade properties to the Mob.
Succeeds if all of the following are true:
This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:
AAFRESULT_SUCCESS
AAFRESULT_NOT_INITIALIZED
AAFRESULT_BAD_TYPE
AAFRESULT_BAD_LENGTH
fadeLength | [in] Default fade length |
fadeType | [in] default fade type |
fadeEditUnit | [in] default fade edit unit |