docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MockHMD

    Runtime scripting API for Mock HMD provider.

    Inheritance
    object
    MockHMD
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.XR.MockHMD
    Assembly: solution.dll
    Syntax
    public static class MockHMD

    Methods

    Name Description
    SetEyeResolution(int, int)

    Set the resolution of the eye textures.

    SetMirrorViewCrop(float)

    Set the crop value applied when rendering the mirror view. This is useful to remove the peripheral distorted part of the image.

    SetRenderMode(RenderMode)

    Set the stereo rendering mode.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)