mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0
  • 指南
  • API 文档
  • API 文档

    Show / Hide Table of Contents

    Class ManualCameraControl

    Class for manually controlling the camera in the Unity editor. Attach to the MainCamera object.

    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

    ManualCameraControl(MixedRealityInputSimulationProfile)

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

    Methods

    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

    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
    • Constructors
      • ManualCameraControl(MixedRealityInputSimulationProfile)
      • ManualCameraControl(MixedRealityInputSimulationProfile)
    • Methods
      • UpdateTransform(Transform, MouseDelta)
      • UpdateTransform(Transform, MouseDelta)
    Back to top Generated by DocFX