Implementation public function get filename():String
minConfidence
property
minConfidence:Number
'Confidence' is a value assigned by FLARToolkit to each detected marker,
that describes the algorithm's perceived accuracy of the pattern match.
This value sets the minimum confidence required to signal a recognized marker.
Implementation public function get minConfidence():Number public function set minConfidence(value:Number):void
patternToBorderRatioX
property
patternToBorderRatioX:Number [read-only]
Out of the entire width of a marker, the amount that
the pattern occupies relative to the amount the border occupies.
This value is expressed as a percentage.
For example, a value of 50 indicates that the width of the pattern area
is equal to the total width (on either side of the pattern) of the border.
Note that the border must still be a square (equal width and height).
Implementation public function get patternToBorderRatioX():Number
patternToBorderRatioY
property
patternToBorderRatioY:Number [read-only]
Out of the entire height of a marker, the amount that
the pattern occupies relative to the amount the border occupies.
This value is expressed as a percentage.
For example, a value of 50 indicates that the width of the pattern area
is equal to the total width (on either side of the pattern) of the border.
Note that the border must still be a square (equal width and height).
Implementation public function get patternToBorderRatioY():Number
resolution
property
resolution:Number [read-only]
The resolution (width/height) of the marker pattern file.
Implementation public function get resolution():Number
unscaledMarkerWidth
property
unscaledMarkerWidth:Number [read-only]
The width of a marker (in pixels) on-screen at which
the scale of its transformation matrix is 1.0.
Implementation public function get unscaledMarkerWidth():Number
Constructor Detail
FLARPattern
()
Constructor
public function FLARPattern(filename:String, resolution:int, patternToBorderRatioX:Number, patternToBorderRatioY:Number, unscaledMarkerWidth:Number, minConfidence:Number)
constructor.
Parameters
filename:String — The location of the marker pattern file.
resolution:int — The resolution (width/height) of the marker pattern file.
patternToBorderRatioX:Number (default = NaN) — Out of the entire width of a marker, the amount that
the pattern occupies relative to the amount the border occupies.
This value is expressed as a percentage.
For example, a value of 50 indicates that the width of the pattern area
is equal to the total width (on either side of the pattern) of the border.
Note that the border must still be a square (equal width and height).
Defaults to 50.
patternToBorderRatioY:Number (default = NaN) — Out of the entire height of a marker, the amount that
the pattern occupies relative to the amount the border occupies.
This value is expressed as a percentage.
For example, a value of 50 indicates that the width of the pattern area
is equal to the total width (on either side of the pattern) of the border.
Note that the border must still be a square (equal width and height).
Defaults to 50.
unscaledMarkerWidth:Number (default = NaN) — The width of a marker (in pixels) on-screen at which
the scale of its transformation matrix is 1.0.
Defaults to 80.
minConfidence:Number (default = NaN) — 'Confidence' is a value assigned by FLARToolkit to each detected marker,
that describes the algorithm's perceived accuracy of the pattern match.
This value sets the minimum confidence required to signal a recognized marker.
Defaults to 0.5.
Constant Detail
DEFAULT_MIN_CONFIDENCE
Constant
public static const DEFAULT_MIN_CONFIDENCE:Number = 0.5
DEFAULT_PATTERN_TO_BORDER_RATIO
Constant
public static const DEFAULT_PATTERN_TO_BORDER_RATIO:Number = 50
DEFAULT_UNSCALED_MARKER_WIDTH
Constant
public static const DEFAULT_UNSCALED_MARKER_WIDTH:Number = 80