topical media & game development
student-ar-org-papervision3d-core-animation-channel-MatrixChannel3D.ax
student-ar-org-papervision3d-core-animation-channel-MatrixChannel3D.ax
[swf]
flex
package org.papervision3d.core.animation.channel {
import org.papervision3d.objects.DisplayObject3D;
author: Tim Knip
public class @ax-student-ar-org-papervision3d-core-animation-channel-MatrixChannel3D extends AbstractChannel3D
{
public var member:String;
Constructor.
@param target
@param name
public function @ax-student-ar-org-papervision3d-core-animation-channel-MatrixChannel3D(target:DisplayObject3D, name:String=null)
{
super(target, name);
this.member = null;
}
Updates this channel.
@param keyframe
@param target
public override function updateToFrame(keyframe:uint):void
{
super.updateToFrame(keyframe);
target.copyTransform(currentKeyFrame.output[0]);
}
public override function updateToTime(time:Number):void
{
super.updateToTime(time);
target.copyTransform(currentKeyFrame.output[0]);
}
}
}
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.