Packageorg.papervision3d.core.animation.channel
Classpublic class AbstractChannel3D
SubclassesMatrixChannel3D, MatrixStackChannel3D, MorphChannel3D, SinglePropertyChannel3D



Public Properties
 PropertyDefined by
  defaultTarget : DisplayObject3D
[read-only]
AbstractChannel3D
  keyFrames : Array
AbstractChannel3D
  maxTime : Number
AbstractChannel3D
  minTime : Number
AbstractChannel3D
  name : String
AbstractChannel3D
  output : Array
AbstractChannel3D
  parent : IAnimationDataProvider
AbstractChannel3D
  position : Number
Position.
AbstractChannel3D
  tolerance : Number
Tolerance.
AbstractChannel3D
Protected Properties
 PropertyDefined by
  _nextOutput : Array
AbstractChannel3D
Public Methods
 MethodDefined by
  
AbstractChannel3D(parent:IAnimationDataProvider, defaultTarget:DisplayObject3D, name:String = null)
Constructor.
AbstractChannel3D
  
Adds a new keyframe.
AbstractChannel3D
  
updateToFrame(keyframe:uint, target:DisplayObject3D = null):void
Updates this channel.
AbstractChannel3D
  
updateToTime(time:Number, frameSnap:Number = 0):void
Updates this channel by time.
AbstractChannel3D
Property detail
defaultTargetproperty
defaultTarget:DisplayObject3D  [read-only]

Implementation
    public function get defaultTarget():DisplayObject3D
keyFramesproperty 
public var keyFrames:Array

maxTimeproperty 
public var maxTime:Number

minTimeproperty 
public var minTime:Number

nameproperty 
public var name:String

_nextOutputproperty 
protected var _nextOutput:Array
outputproperty 
public var output:Array

parentproperty 
public var parent:IAnimationDataProvider

positionproperty 
public var position:Number

Position. Use by time based animations.

toleranceproperty 
public var tolerance:Number

Tolerance. Use by time based animations.

Constructor detail
AbstractChannel3D()constructor
public function AbstractChannel3D(parent:IAnimationDataProvider, defaultTarget:DisplayObject3D, name:String = null)

Constructor.

Parameters
parent:IAnimationDataProvider
 
defaultTarget:DisplayObject3D
 
name:String (default = null)
Method detail
addKeyFrame()method
public function addKeyFrame(keyframe:AnimationKeyFrame3D):AnimationKeyFrame3D

Adds a new keyframe.

Parameters
keyframe:AnimationKeyFrame3D

Returns
AnimationKeyFrame3D — The added keyframe.
updateToFrame()method 
public function updateToFrame(keyframe:uint, target:DisplayObject3D = null):void

Updates this channel.

Parameters
keyframe:uint
 
target:DisplayObject3D (default = null)
updateToTime()method 
public function updateToTime(time:Number, frameSnap:Number = 0):void

Updates this channel by time.

Parameters
time:Number
 
frameSnap:Number (default = 0)