Wikitude ARchitect v3.2 API Documentation

Wikitude ARchitect > AR > ModelAnimation
Filters

Class ModelAnimation - extends Animation

ModelAnimations allow the control of animations defined in a Model.

Example:
//We want to start an animation inside a model
var model = new AR.Model("http://myServer.com/myModel.zip");
var modelAnim = new AR.ModelAnimation(model, "hit"); //start hit-animation defined inside model

Constructor

ModelAnimation ( model , animationId , options )
Parameters:
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.