Class: AxKeyFrame

AxKeyFrame(timenon-null)

new AxKeyFrame(timenon-null)

Creates a new KeyFrame object This is the base for the various keyframes for translation, rotation and etc.
Parameters:
Name Type Description
time Number The time at which the keyframe is hit
Source:

Methods

Deserialize(source) → {Boolean}

Deserializes the keyframe object from the given stream
Parameters:
Name Type Description
source AxStream The shtream which contains the serialized data
Source:
Returns:
True if deserialization has succeeded
Type
Boolean

Process(result)

Gets the resulting transform of the key frame
Parameters:
Name Type Description
result AxMatrix The transform resulting from processing the keyframe
Source:

Process_2(result, next, blend)

Gets a transform, which is the result of the keyframe, blended with another one, with blending factor given by blend. Normally the another key frame is of the same object and blend is in the range between 0 and 1
Parameters:
Name Type Description
result AxMatrix The transform resulting from processing the keyframe
next AxKeyFrame The next keyframe towards which to blend
blend Number The blending factor ranging from 0 to 1, where 0 is the currnet keyframe and 1 is the next keyframe
Source:

Serialize(destination)

Serialized the keyframe oject and writes the serialized data into the given stream
Parameters:
Name Type Description
destination AxStream The stream where the serialized data should be written
Source:

Documentation generated by JSDoc 3.5.3 on Mon Feb 19 2018 20:39:26 GMT+0200 (FLE Standard Time)