public void Rotate() { var quaternion = new Quaternion(1, 2, 3, 4); var matrix = SCNMatrix4.Rotate(quaternion); AssertEqual(matrix, "Rotate", TwoFifteenths, 7 * TwoFifteenths, -OneThird, 0, -TwoThirds, OneThird, TwoThirds, 0, 11 * OneFifteenth, TwoFifteenths, TwoThirds, 0, 0, 0, 0, 1); }
public virtual Quaternion [] GetQuaternionValues() { var count = ElementCount * TimeSampleCount; var timesArr = new Quaternion [(int)count]; unsafe { int typeSize = sizeof(Quaternion); fixed(Quaternion *arrptr = timesArr) MDLMemoryHelper.FetchValues(typeSize, (IntPtr)arrptr, count, _GetFloatQuaternionArray); } return(timesArr); }
public virtual Quaternion [] GetQuaternionValues(nuint maxCount) { var timesArr = new Quaternion [(int)maxCount]; unsafe { int typeSize = sizeof(Quaternion); fixed(Quaternion *arrptr = timesArr) { var rv = MDLMemoryHelper.FetchValues(typeSize, (IntPtr)arrptr, maxCount, _GetFloatQuaternionArray); Array.Resize(ref timesArr, (int)rv); } } return(timesArr); }
public static global::Windows.Perception.Spatial.SpatialAnchor TryCreateRelativeTo(global::Windows.Perception.Spatial.SpatialCoordinateSystem coordinateSystem, global::System.Numerics.Vector3 position, global::System.Numerics.Quaternion orientation) { throw new global::System.NotImplementedException("The member SpatialAnchor SpatialAnchor.TryCreateRelativeTo(SpatialCoordinateSystem coordinateSystem, Vector3 position, Quaternion orientation) is not implemented in Uno."); }
public static global::Windows.Perception.Spatial.SpatialCoordinateSystem CreateCoordinateSystemForNode(global::System.Guid nodeId, global::System.Numerics.Vector3 relativePosition, global::System.Numerics.Quaternion relativeOrientation) { throw new global::System.NotImplementedException("The member SpatialCoordinateSystem SpatialGraphInteropPreview.CreateCoordinateSystemForNode(Guid nodeId, Vector3 relativePosition, Quaternion relativeOrientation) is not implemented in Uno."); }
public global::Windows.Perception.Spatial.SpatialStationaryFrameOfReference CreateStationaryFrameOfReferenceAtCurrentLocation(global::System.Numerics.Vector3 relativePosition, global::System.Numerics.Quaternion relativeOrientation, double relativeHeadingInRadians) { throw new global::System.NotImplementedException("The member SpatialStationaryFrameOfReference SpatialLocator.CreateStationaryFrameOfReferenceAtCurrentLocation(Vector3 relativePosition, Quaternion relativeOrientation, double relativeHeadingInRadians) is not implemented in Uno."); }
public global::Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference CreateAttachedFrameOfReferenceAtCurrentHeading(global::System.Numerics.Vector3 relativePosition, global::System.Numerics.Quaternion relativeOrientation) { throw new global::System.NotImplementedException("The member SpatialLocatorAttachedFrameOfReference SpatialLocator.CreateAttachedFrameOfReferenceAtCurrentHeading(Vector3 relativePosition, Quaternion relativeOrientation) is not implemented in Uno."); }
public PerceptionCorrelation(string targetId, global::System.Numerics.Vector3 position, global::System.Numerics.Quaternion orientation) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.Devices.Perception.Provider.PerceptionCorrelation", "PerceptionCorrelation.PerceptionCorrelation(string targetId, Vector3 position, Quaternion orientation)"); }
public SCNQuaternion(Quaternion openTkQuaternion) : this(new SCNVector3(openTkQuaternion.XYZ), openTkQuaternion.W) { }
public global::Windows.UI.Composition.CompositionGetValueStatus TryGetQuaternion(string propertyName, out global::System.Numerics.Quaternion value) { throw new global::System.NotImplementedException("The member CompositionGetValueStatus CompositionPropertySet.TryGetQuaternion(string propertyName, out Quaternion value) is not implemented in Uno."); }
public void InsertQuaternion(string propertyName, global::System.Numerics.Quaternion value) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Composition.CompositionPropertySet", "void CompositionPropertySet.InsertQuaternion(string propertyName, Quaternion value)"); }
public void UpdateLocationWithDisplayRelativeMode(global::System.Numerics.Vector3 position, global::System.Numerics.Quaternion orientation) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters", "void HolographicQuadLayerUpdateParameters.UpdateLocationWithDisplayRelativeMode(Vector3 position, Quaternion orientation)"); }
public void UpdateLocationWithStationaryMode(global::Windows.Perception.Spatial.SpatialCoordinateSystem coordinateSystem, global::System.Numerics.Vector3 position, global::System.Numerics.Quaternion orientation) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters", "void HolographicQuadLayerUpdateParameters.UpdateLocationWithStationaryMode(SpatialCoordinateSystem coordinateSystem, Vector3 position, Quaternion orientation)"); }
public static global::Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview TryCreateFrameOfReference(global::Windows.Perception.Spatial.SpatialCoordinateSystem coordinateSystem, global::System.Numerics.Vector3 relativePosition, global::System.Numerics.Quaternion relativeOrientation) { throw new global::System.NotImplementedException("The member SpatialGraphInteropFrameOfReferencePreview SpatialGraphInteropPreview.TryCreateFrameOfReference(SpatialCoordinateSystem coordinateSystem, Vector3 relativePosition, Quaternion relativeOrientation) is not implemented in Uno."); }
public void SetQuaternionParameter(string key, global::System.Numerics.Quaternion value) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Composition.CompositionAnimation", "void CompositionAnimation.SetQuaternionParameter(string key, Quaternion value)"); }
public SCNQuaternion(Quaternion quaternion) : this(quaternion.X, quaternion.Y, quaternion.Z, quaternion.W) { }
public void InsertKeyFrame(float normalizedProgressKey, global::System.Numerics.Quaternion value, global::Windows.UI.Composition.CompositionEasingFunction easingFunction) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Composition.QuaternionKeyFrameAnimation", "void QuaternionKeyFrameAnimation.InsertKeyFrame(float normalizedProgressKey, Quaternion value, CompositionEasingFunction easingFunction)"); }
public void SetPlacementOverride(global::Windows.Perception.Spatial.SpatialCoordinateSystem coordinateSystem, global::System.Numerics.Vector3 topCenterPosition, global::System.Numerics.Quaternion orientation, global::System.Numerics.Vector2 maxSize) { global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.ApplicationModel.Holographic.HolographicKeyboard", "void HolographicKeyboard.SetPlacementOverride(SpatialCoordinateSystem coordinateSystem, Vector3 topCenterPosition, Quaternion orientation, Vector2 maxSize)"); }