Class ArucoBoard
Describes the shared properties of the ArUco boards.
Inherited Members
Namespace: ArucoUnity.Objects
Assembly: Assembly-CSharp.dll
Syntax
public abstract class ArucoBoard : ArucoObject
Properties
| Improve this Doc View SourceAxisLength
Gets or sets the length of the axis lines when drawn on the board.
Declaration
public float AxisLength { get; protected set; }
Property Value
Type | Description |
---|---|
Single |
Board
Gets or sets the associated board from the ArucoUnity plugin library.
Declaration
public Aruco.Board Board { get; protected set; }
Property Value
Type | Description |
---|---|
Aruco.Board |
ImageSize
Gets or sets the image size for drawing the board.
Declaration
public Vector2 ImageSize { get; protected set; }
Property Value
Type | Description |
---|---|
Vector2 |
MarginsLength
Gets or sets the length of the margins around the board in pixels, used by the Creators (default: 0).
Declaration
public int MarginsLength { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Rvec
Gets or sets the estimated rotation vector of the board when tracked.
Declaration
public Cv.Vec3d Rvec { get; set; }
Property Value
Type | Description |
---|---|
Cv.Vec3d |
Tvec
Gets or sets the estimated translation vector of the board when tracked.
Declaration
public Cv.Vec3d Tvec { get; set; }
Property Value
Type | Description |
---|---|
Cv.Vec3d |
Methods
| Improve this Doc View SourceAwake()
Calls UpdateBoard().
Declaration
protected override void Awake()
Overrides
| Improve this Doc View SourceUpdateBoard()
Updates the Board properties.
Declaration
protected abstract void UpdateBoard()
UpdateProperties()
Calls OnPropertyUpdated() and calls UpdateBoard().
Declaration
protected override void UpdateProperties()