Class ManualCameraControl
Class for manually controlling the camera in the Unity editor. Used by the Input Simulation Service.
Inherited Members
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 |