Packageorg.wiiflash
Classpublic final class IR

The IR class represents the data structure of the IR sensor from a Wiimote. An IR object can not be created manually. The only access to an IR object is by using the ir property of a Wiimote object.

See also

IR sensor description on wiili.org
org.wiiflash.Wiimote


Public Properties
 PropertyDefined by
  p1 : Boolean
[read-only] Flag that indicates if point 1 has been found.
IR
  p2 : Boolean
[read-only] Flag that indicates if point 2 has been found.
IR
  p3 : Boolean
[read-only] Flag that indicates if point 3 has been found.
IR
  p4 : Boolean
[read-only] Flag that indicates if point 4 has been found.
IR
  point1 : Point
[read-only] Point 1 as a Point object.
IR
  point2 : Point
[read-only] Point 2 as a Point object.
IR
  point3 : Point
[read-only] Point 3 as a Point object.
IR
  point4 : Point
[read-only] Point 4 as a Point object.
IR
  size1 : Number
[read-only] The value of dot size 1.
IR
  size2 : Number
[read-only] The value of dot size 2.
IR
  size3 : Number
[read-only] The value of dot size 3.
IR
  size4 : Number
[read-only] The value of dot size 4.
IR
  x1 : Number
[read-only] The x value of point 1.
IR
  x2 : Number
[read-only] The x value of point 2.
IR
  x3 : Number
[read-only] The x value of point 3.
IR
  x4 : Number
[read-only] The x value of point 4.
IR
  y1 : Number
[read-only] The y value of point 1.
IR
  y2 : Number
[read-only] The y value of point 2.
IR
  y3 : Number
[read-only] The y value of point 3.
IR
  y4 : Number
[read-only] The y value of point 4.
IR
Public Methods
 MethodDefined by
  
toString():String
Returns the string representation of the specified object.
IR
Property detail
p1property
p1:Boolean  [read-only]

Flag that indicates if point 1 has been found.

Implementation
    public function get p1():Boolean
p2property 
p2:Boolean  [read-only]

Flag that indicates if point 2 has been found.

Implementation
    public function get p2():Boolean
p3property 
p3:Boolean  [read-only]

Flag that indicates if point 3 has been found.

Implementation
    public function get p3():Boolean
p4property 
p4:Boolean  [read-only]

Flag that indicates if point 4 has been found.

Implementation
    public function get p4():Boolean
point1property 
point1:Point  [read-only]

Point 1 as a Point object.

Implementation
    public function get point1():Point
point2property 
point2:Point  [read-only]

Point 2 as a Point object.

Implementation
    public function get point2():Point
point3property 
point3:Point  [read-only]

Point 3 as a Point object.

Implementation
    public function get point3():Point
point4property 
point4:Point  [read-only]

Point 4 as a Point object.

Implementation
    public function get point4():Point
size1property 
size1:Number  [read-only]

The value of dot size 1.

Implementation
    public function get size1():Number
size2property 
size2:Number  [read-only]

The value of dot size 2.

Implementation
    public function get size2():Number
size3property 
size3:Number  [read-only]

The value of dot size 3.

Implementation
    public function get size3():Number
size4property 
size4:Number  [read-only]

The value of dot size 4.

Implementation
    public function get size4():Number
x1property 
x1:Number  [read-only]

The x value of point 1.

Implementation
    public function get x1():Number
x2property 
x2:Number  [read-only]

The x value of point 2.

Implementation
    public function get x2():Number
x3property 
x3:Number  [read-only]

The x value of point 3.

Implementation
    public function get x3():Number
x4property 
x4:Number  [read-only]

The x value of point 4.

Implementation
    public function get x4():Number
y1property 
y1:Number  [read-only]

The y value of point 1.

Implementation
    public function get y1():Number
y2property 
y2:Number  [read-only]

The y value of point 2.

Implementation
    public function get y2():Number
y3property 
y3:Number  [read-only]

The y value of point 3.

Implementation
    public function get y3():Number
y4property 
y4:Number  [read-only]

The y value of point 4.

Implementation
    public function get y4():Number
Method detail
toString()method
public function toString():String

Returns the string representation of the specified object.

Returns
String — A string representation of the object.