MixedRealityTransform.NewRotate(Quaternion) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a transform with only given rotation
public:
static Microsoft::MixedReality::Toolkit::Utilities::MixedRealityTransform NewRotate(UnityEngine::Quaternion rotation);
public static Microsoft.MixedReality.Toolkit.Utilities.MixedRealityTransform NewRotate (UnityEngine.Quaternion rotation);
static member NewRotate : UnityEngine.Quaternion -> Microsoft.MixedReality.Toolkit.Utilities.MixedRealityTransform
Public Shared Function NewRotate (rotation As Quaternion) As MixedRealityTransform
Parameters
- rotation
- UnityEngine.Quaternion