Show / Hide Table of Contents

    Class MarkerVisualCoordinateService

    A variant of marker based ISpatialCoordinateService implementation. This one tracks coordinates displayed on the screen of current mobile device. The logic is that every time you start tracking a new coordinate is created and shown on the screen, after you stop tracking that coordinates location is no longer updated with the device.

    Inheritance
    Object
    MarkerVisualCoordinateService
    Namespace: Microsoft.MixedReality.SpectatorView
    Assembly: cs.temp.dll.dll
    Syntax
    public class MarkerVisualCoordinateService : SpatialCoordinateServiceBase<int>

    Constructors

    MarkerVisualCoordinateService(IMarkerVisual, UnityEngine.Matrix4x4, UnityEngine.Transform, Boolean)

    Declaration
    public MarkerVisualCoordinateService(IMarkerVisual markerVisual, UnityEngine.Matrix4x4 cameraToMarker, UnityEngine.Transform cameraTransform, bool debugLogging = false)
    Parameters
    Type Name Description
    IMarkerVisual markerVisual
    UnityEngine.Matrix4x4 cameraToMarker
    UnityEngine.Transform cameraTransform
    Boolean debugLogging

    Methods

    OnDiscoverCoordinatesAsync(CancellationToken, Int32[])

    Declaration
    protected override Task OnDiscoverCoordinatesAsync(CancellationToken cancellationToken, int[] idsToLocate)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Int32[] idsToLocate
    Returns
    Type Description
    Task

    OnManagedDispose()

    Declaration
    protected override void OnManagedDispose()

    TryParse(String, out Int32)

    Declaration
    protected override bool TryParse(string id, out int result)
    Parameters
    Type Name Description
    String id
    Int32 result
    Returns
    Type Description
    Boolean
    In This Article
    • Constructors
      • MarkerVisualCoordinateService(IMarkerVisual, UnityEngine.Matrix4x4, UnityEngine.Transform, Boolean)
    • Methods
      • OnDiscoverCoordinatesAsync(CancellationToken, Int32[])
      • OnManagedDispose()
      • TryParse(String, out Int32)
    Back to top Generated by DocFX