We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class ManualCameraControl

    Class for manually controlling the camera in the Unity editor. Used by the Input Simulation Service.

    Inheritance
    Object
    ManualCameraControl
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class ManualCameraControl

    Constructors

    ManualCameraControl(MixedRealityInputSimulationProfile)

    Declaration
    public ManualCameraControl(MixedRealityInputSimulationProfile _profile)
    Parameters
    Type Name Description
    MixedRealityInputSimulationProfile _profile

    Methods

    SetInitialTransform(Transform)

    Moves the camera transform based on the profile's origin offset

    Declaration
    public void SetInitialTransform(Transform transform)
    Parameters
    Type Name Description
    Transform transform

    UpdateTransform(Transform, MouseDelta)

    Translate and rotate the camera transform based on keyboard and mouse input.

    Declaration
    public void UpdateTransform(Transform transform, MouseDelta mouseDelta)
    Parameters
    Type Name Description
    Transform transform
    MouseDelta mouseDelta
    In This Article
    Back to top Generated by DocFX