MaintainApparentSizeConstraint.ApplyConstraint(MixedRealityTransform) 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.
Constrains scale such that the object's apparent size at manipulation start does not change when the object is moved towards and away from the head.
public:
override void ApplyConstraint(Microsoft::MixedReality::Toolkit::Utilities::MixedRealityTransform % transform);
public override void ApplyConstraint (ref Microsoft.MixedReality.Toolkit.Utilities.MixedRealityTransform transform);
override this.ApplyConstraint : MixedRealityTransform -> unit
Public Overrides Sub ApplyConstraint (ByRef transform As MixedRealityTransform)
Parameters
- transform
- MixedRealityTransform