Class SpacePinOrientableManipulation
Component that adds MRTK object manipulation capabilities on top of the auto-orienting SpacePinOrientable.
Namespace: Microsoft.MixedReality.WorldLocking.Examples
Assembly: cs.temp.dll.dll
Syntax
public class SpacePinOrientableManipulation : SpacePinOrientable
Properties
AllowRotation
Whether to show the MRTK rotation gizmos.
Declaration
public bool AllowRotation { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Rotating the SpacePinOrientableManipulation object only has any effect when the first pin is manipulated. Once the second object is manipulated, and ever after, the orientation is implied by the alignment of the pin objects, and actual orientation of the objects is ignored.
Prefab_FeelerRay
Proxy renderable to show axis alignment during manipulations.
Declaration
public GameObject Prefab_FeelerRay { get; set; }
Property Value
Type | Description |
---|---|
GameObject |
Methods
OnDestroy()
Shutdown the manipulation controls.
Declaration
protected override void OnDestroy()
OnFinishManipulation()
Callback for when the user has finished positioning the target.
Declaration
protected virtual void OnFinishManipulation()
OnStartManipulation()
Callback for when the user starts manipulating the target.
Declaration
protected virtual void OnStartManipulation()
Start()
Start(), and set up MRTK manipulation controls.
Declaration
protected override void Start()