日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    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
    Back to top Generated by DocFX