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
  inited : Boolean
[read-only] returns true if initialization is complete.
IFLARSource
  mirrored : Boolean
set to true to flip the camera image horizontally.
IFLARSource
  resultsToDisplayRatio : Number
[read-only] ratio of area of reported results to display size.
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
  
dispose():void
halts all processes and frees this instance for garbage collection.
IFLARSource
  
update():void
update the BitmapData source.
IFLARSource
Property detail
initedproperty
inited:Boolean  [read-only]

returns true if initialization is complete.

Implementation
    public function get inited():Boolean
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
resultsToDisplayRatioproperty 
resultsToDisplayRatio:Number  [read-only]

ratio of area of reported results to display size. used to scale results of FLARToolkit analysis to correctly fit display area.

Implementation
    public function get resultsToDisplayRatio():Number
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
dispose()method
public function dispose():void

halts all processes and frees this instance for garbage collection.

update()method 
public function update():void

update the BitmapData source.