ElasticsManager.ApplyTargetTransform 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.
Applies elastics calculation to the passed targetTransform and applies to the host transform.
public Microsoft.MixedReality.Toolkit.Utilities.TransformFlags ApplyTargetTransform (Microsoft.MixedReality.Toolkit.Utilities.MixedRealityTransform targetTransform, Microsoft.MixedReality.Toolkit.Utilities.TransformFlags transformsToApply = Microsoft.MixedReality.Toolkit.Utilities.TransformFlags.Move | Microsoft.MixedReality.Toolkit.Utilities.TransformFlags.Rotate | Microsoft.MixedReality.Toolkit.Utilities.TransformFlags.Scale);
member this.ApplyTargetTransform : Microsoft.MixedReality.Toolkit.Utilities.MixedRealityTransform * Microsoft.MixedReality.Toolkit.Utilities.TransformFlags -> Microsoft.MixedReality.Toolkit.Utilities.TransformFlags
Public Function ApplyTargetTransform (targetTransform As MixedRealityTransform, Optional transformsToApply As TransformFlags = Microsoft.MixedReality.Toolkit.Utilities.TransformFlags.Move | Microsoft.MixedReality.Toolkit.Utilities.TransformFlags.Rotate | Microsoft.MixedReality.Toolkit.Utilities.TransformFlags.Scale) As TransformFlags
Parameters
- targetTransform
- MixedRealityTransform
Precalculated target transform that's influenced by elastics
- transformsToApply
- TransformFlags
Indicates which types of transforms are going to be applied. Default is Move, Rotate and Scale.
Returns
Modified transform types.