Wikitude ARchitect v3.2 API Documentation

Wikitude ARchitect > AR > ModelAnimation

Class ModelAnimation - extends Animation

ModelAnimations allow the control of animations defined in a Model.

//We want to start an animation inside a model
var model = new AR.Model("");
var modelAnim = new AR.ModelAnimation(model, "hit"); //start hit-animation defined inside model


ModelAnimation ( model , animationId , options )
model <Model> The model that holds the animation.
animationId <string> The ID the animation is referenced with inside the model.
options <object> Setup-Parameters to customize additional object properties.

Accepted options-properties are
  • onStart
  • onFinish
  • duration

Properties inherited from ARchitectObject:

Methods inherited from ARchitectObject:

Methods inherited from Animation:

Copyright © 2013 Wikitude GmbH. All rights reserved.