Class ArucoWebcam
Captures images of a webcam.
Inherited Members
Namespace: ArucoUnity.Cameras
Assembly: Assembly-CSharp.dll
Syntax
public class ArucoWebcam : ArucoCamera, IArucoCamera, IController
Fields
| Improve this Doc View SourcecameraId
Declaration
protected const int cameraId = 0
Field Value
Type | Description |
---|---|
Int32 |
Properties
| Improve this Doc View SourceCameraNumber
Declaration
public override int CameraNumber { get; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceName
Declaration
public override string Name { get; protected set; }
Property Value
Type | Description |
---|---|
String |
Overrides
| Improve this Doc View SourceWebcamController
Gets the controller of the webcam to use.
Declaration
public WebcamController WebcamController { get; }
Property Value
Type | Description |
---|---|
WebcamController |
WebcamId
Gets or set the id of the webcam to use.
Declaration
public int WebcamId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceAwake()
Initializes WebcamController and subscribes to.
Declaration
protected override void Awake()
Overrides
| Improve this Doc View SourceConfiguring()
Calls Configure() and sets Name.
Declaration
protected override void Configuring()
Overrides
| Improve this Doc View SourceOnDestroy()
Unsubscribes to WebcamController.
Declaration
protected override void OnDestroy()
Overrides
| Improve this Doc View SourceOnStarted()
Blocks OnStarted() until IsStarted.
Declaration
protected override void OnStarted()
Overrides
| Improve this Doc View SourceStarting()
Calls StartWebcams().
Declaration
protected override void Starting()
Overrides
| Improve this Doc View SourceStopping()
Calls StopWebcams().
Declaration
protected override void Stopping()
Overrides
| Improve this Doc View SourceUpdatingImages()
Copy current webcam images to NextImages.
Declaration
protected override bool UpdatingImages()
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceWebcamController_Started(WebcamController)
Configures Textures and calls OnStarted().
Declaration
protected virtual void WebcamController_Started(WebcamController webcamController)
Parameters
Type | Name | Description |
---|---|---|
WebcamController | webcamController |