Class: AxKeyFrameScaling

AxKeyFrameScaling(timenon-null, scalingnon-null)

new AxKeyFrameScaling(timenon-null, scalingnon-null)

Creates a new KeyFrame object for scaling
Parameters:
Name Type Description
time Number The time at which the keyframe is hit
scaling AxVector3 The vector representing the scaling on each axis 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 AxKeyFrameScaling 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)