Class: AxKeyFrameTranslation

AxKeyFrameTranslation(timenon-null, positionnon-null)

new AxKeyFrameTranslation(timenon-null, positionnon-null)

Creates a new KeyFrame object for translation
Parameters:
Name Type Description
time Number The time at which the keyframe is hit
position AxVector3 The vector representing the position at the time of the keyframe
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 AxKeyFrameTranslation 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 Wed Jan 17 2018 17:06:57 GMT+0200 (FLE Standard Time)