Package | com.transmote.flar.utils.smoother |
Class | public class FLARMatrixSmoother_Average |
Inheritance | FLARMatrixSmoother_Average Object |
Implements | IFLARMatrixSmoother |
Property | Defined By | ||
---|---|---|---|
positionToRotationRatio : Number
Amount of position (x,y,z) smoothing relative to the
amount of rotation (x,y,z axes) smoothing. | FLARMatrixSmoother_Average |
Method | Defined By | ||
---|---|---|---|
FLARMatrixSmoother_Average | |||
dispose():void
Halts all processes and frees this instance for garbage collection. | FLARMatrixSmoother_Average | ||
initFromXML(paramsObj:Object):void
Init from a name-value paired object that contains parameters parsed from XML. | FLARMatrixSmoother_Average | ||
smoothMatrices(storedMatrices:Vector.<Matrix3D>):Matrix3D
Returns a Matrix3D that is the average of a Vector of Matrix3D instances. | FLARMatrixSmoother_Average |
positionToRotationRatio | property |
positionToRotationRatio:Number
Amount of position (x,y,z) smoothing relative to the amount of rotation (x,y,z axes) smoothing. Set either via ActionScript or flarConfig.xml. Defaults to 0.5 (position is smoothed half as much as rotation).
public function get positionToRotationRatio():Number
public function set positionToRotationRatio(value:Number):void
FLARMatrixSmoother_Average | () | Constructor |
public function FLARMatrixSmoother_Average()
dispose | () | method |
public function dispose():void
Halts all processes and frees this instance for garbage collection.
initFromXML | () | method |
public function initFromXML(paramsObj:Object):void
Init from a name-value paired object that contains parameters parsed from XML.
Parameters
paramsObj:Object |
smoothMatrices | () | method |
public function smoothMatrices(storedMatrices:Vector.<Matrix3D>):Matrix3D
Returns a Matrix3D that is the average of a Vector of Matrix3D instances.
Parameters
storedMatrices:Vector.<Matrix3D> — Vector of stored matrices to average. (storedMatrices is not modified.)
|
Matrix3D |