Bearbeiten

Freigeben über


ManipulationProcessor2D.MinimumScaleRotateRadius Property

Definition

Gets or sets the minimum radius, in coordinate units, necessary for a manipulator to participate in scaling and rotation.

public:
 property float MinimumScaleRotateRadius { float get(); void set(float value); };
public float MinimumScaleRotateRadius { get; set; }
member this.MinimumScaleRotateRadius : single with get, set
Public Property MinimumScaleRotateRadius As Single

Property Value

The minimum radius, in coordinate units, necessary for a manipulator to participate in scaling and rotation.

Remarks

If a manipulator is extremely close to the center of mass of the manipulators currently being processed, a very small manipulator motion can become a very large change to rotation or scaling. To avoid this problem, set MinimumScaleRotateRadius to something greater than zero. Any manipulator that is closer than that distance to the center of mass will not be included in rotation and scaling operations.

A typical value to use should be based on the likely magnitude of "accidental" motions of the manipulators. For example, if the manipulator is a human finger touching a screen, a radius corresponding to a centimeter or so might be appropriate.

The value for MinimumScaleRotateRadius must be a finite, non-negative number.

Applies to