Package | com.transmote.flar.marker |
Class | public class FlareMarker |
Inheritance | FlareMarker FLARMarker Object |
See also
Property | Defined By | ||
---|---|---|---|
centerpoint : Point [read-only]
The centerpoint of the marker outline in the 2D space of the screen,
calculated as the average of the outline's four corner points. | FLARMarker | ||
_centerpoint2D : Point = null | FLARMarker | ||
_centerpoint3D : Point = null | FLARMarker | ||
centerpoint3D : Point [read-only]
Centerpoint of marker outline extracted from the tracker transformation matrix. | FLARMarker | ||
corners : Vector.<Point> [read-only]
A Vector of four Points that describe the four points of the detected marker's outline. | FLARMarker | ||
dataMatrixMessage : String [read-only]
The string embedded within a DataMatrix marker. | FlareMarker | ||
_flarSource : IFLARSource | FLARMarker | ||
markerType : uint [read-only]
The marker type, as enumerated by FlareDetector. | FlareMarker | ||
matrix2D : Matrix [read-only]
Return the transformation matrix of this FLARMarker as a Flash Matrix object,
for applying 2D transformations to Flash DisplayObject instances. | FLARMarker | ||
matrix3D : Matrix3D [read-only]
Return this.transformMatrix, adjusted for application directly to a DisplayObject
(by setting displayObject.transform.matrix3D = flarMarker.matrix3D). | FLARMarker | ||
motionDirection2D : Number [read-only]
The direction (in degrees) of the marker's (x,y) motion
between the previous and current frames. | FLARMarker | ||
motionSpeed2D : Number [read-only]
The length of the marker's (x,y) motion vector
between the previous and current frames. | FLARMarker | ||
_patternId : int | FLARMarker | ||
patternId : int [read-only]
ID of this FLARMarker's pattern. | FLARMarker | ||
position : Vector3D [read-only]
A Vector3D instance that describes x, y, and z coordinates,
as well as rotationZ (stored as position.w). | FLARMarker | ||
rotationSpeedX : Number [read-only]
The amount of change (in degrees) in the marker's rotation along the x-axis
between the previous and current frames. | FLARMarker | ||
rotationSpeedY : Number [read-only]
The amount of change (in degrees) in the marker's rotation along the y-axis
between the previous and current frames. | FLARMarker | ||
rotationSpeedZ : Number [read-only]
The amount of change (in degrees) in the marker's rotation along the z-axis
between the previous and current frames. | FLARMarker | ||
rotationX : Number [read-only]
The rotation of the marker along X axis. | FLARMarker | ||
rotationY : Number [read-only]
The rotation of the marker along Y axis. | FLARMarker | ||
rotationZ : Number [read-only]
The rotation of the marker along Z axis. | FLARMarker | ||
scale2D : Number [read-only]
The scale of the marker for use in 2D applications. | FLARMarker | ||
_sessionId : int = -1 | FLARMarker | ||
sessionId : uint [read-only]
ID unique to this FLARMarker in this session. | FLARMarker | ||
targetCenterpoint3D : Point [read-only]
The centerpoint at the location toward which this FLARMarker is moving
(target location at end of smoothing animation). | FLARMarker | ||
targetPosition : Vector3D [read-only]
The position toward which this FLARMarker is moving
(target position at end of smoothing animation). | FLARMarker | ||
_transformMatrix : Matrix3D | FLARMarker | ||
transformMatrix : Matrix3D [read-only]
A Matrix3D object that describes the orientation of the detected marker relative to the viewer. | FLARMarker | ||
_vector3D : Vector3D = null | FLARMarker | ||
velocity : Vector3D [read-only]
A Vector3D instance that describes change between the previous and current frames
in x, y, and z coordinates, as well as change in rotationZ (stored as velocity.w). | FLARMarker | ||
x : Number [read-only]
The 2D X coordinate of the marker. | FLARMarker | ||
y : Number [read-only]
The 2D Y coordinate of the marker. | FLARMarker | ||
z : Number [read-only]
The Z coordinate of the marker. | FLARMarker |
Method | Defined By | ||
---|---|---|---|
FlareMarker(patternId:int, transformMatrix:Matrix3D, flarSource:IFLARSource, corners:Vector.<Point>, markerType:uint, dataMatrixMessage:String) | FlareMarker | ||
copy(otherMarker:FLARMarker):void
Copy the properties of a FLARMarker into this FLARMarker. | FLARMarker | ||
dispose():void
Free this FLARMarker instance for garbage collection. | FLARMarker | ||
toString():String | FLARMarker |
dataMatrixMessage | property |
dataMatrixMessage:String
[read-only] The string embedded within a DataMatrix marker. If the marker is not a DataMatrix marker, returns null.
public function get dataMatrixMessage():String
See also
markerType | property |
markerType:uint
[read-only] The marker type, as enumerated by FlareDetector.
public function get markerType():uint
See also
FlareMarker | () | Constructor |
public function FlareMarker(patternId:int, transformMatrix:Matrix3D, flarSource:IFLARSource, corners:Vector.<Point>, markerType:uint, dataMatrixMessage:String)
patternId:int | |
transformMatrix:Matrix3D | |
flarSource:IFLARSource | |
corners:Vector.<Point> | |
markerType:uint | |
dataMatrixMessage:String |