Packagecom.transmote.flar.source
Interfacepublic interface IFLARSource
ImplementorsFLARCameraSource, FLARLoaderSource, FLARProxy

interface that defines a means of updating and accessing a BitmapData instance to be analyzed by FLARToolkit's marker detection.



Public Properties
 PropertyDefined by
  downsampleRatio : Number
[read-only] amount by which the BitmapData source is downsampled before being sent to FLARToolkit.
IFLARSource
  mirrored : Boolean
set to true to flip the camera image horizontally.
IFLARSource
  source : BitmapData
[read-only] retrieve the BitmapData source used for analysis.
IFLARSource
  sourceSize : Rectangle
[read-only] size of BitmapData source used for analysis.
IFLARSource
Public Methods
 MethodDefined by
  
update():void
update the BitmapData source.
IFLARSource
Property detail
downsampleRatioproperty
downsampleRatio:Number  [read-only]

amount by which the BitmapData source is downsampled before being sent to FLARToolkit.

Implementation
    public function get downsampleRatio():Number
mirroredproperty 
mirrored:Boolean  [read-write]

set to true to flip the camera image horizontally.

Implementation
    public function get mirrored():Boolean
    public function set mirrored(value:Boolean):void
sourceproperty 
source:BitmapData  [read-only]

retrieve the BitmapData source used for analysis. NOTE: returns the actual BitmapData object, not a clone.

Implementation
    public function get source():BitmapData
sourceSizeproperty 
sourceSize:Rectangle  [read-only]

size of BitmapData source used for analysis.

Implementation
    public function get sourceSize():Rectangle
Method detail
update()method
public function update():void

update the BitmapData source.