Component Prototype

Description

Keyframes

3Danimation

Component

 

Keyframes-based 3D animation loader component. This component loads a set of 3ds geometry models into the scene. The number of models is defined as a property. Each model represents a 3d animation keyframe, so as all the keyframes conforms a three-dimensional animation. Depending on the frame rate, which is another property and the framework frame rate, the scene will show one of the keyframes.

In-slots

Name

Type

Description

visible***

boolean

The component is shown when true and hidden when false.

transformation***

matrix

This transformation matrix is applied to the component geometry when shown

frame

integer

The result of the following operation (frame / step) gives the number of the node that corresponds with one 3ds file of the animation

Out-slots

Name

Type

Description

visible***

boolean

The in-slot is propagated to the out-slot

transformation***

matrix

This transformation matrix corresponds to the output transformation, which combines input transformation with the offset.

Properties

Name

Type

Description

iconFileName*

string

The filename of the icon shown for the component in the authoring environment.

numFrames

integer

Number of frames or 3ds files, which represent the 3D animation.

step

integer

Subtraction between two consecutive measurements

offset***

matrix

The offset transformation matrix between the transformation given by the in-slot and the geometry model.

displayNodeFiles

stringVector

3ds geometry filenames associated to the animation.

Figure Keyframes 3D Animation