NonNativeKeyboard.SetScaleSizeValues(Single, Single, Single, Single) 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.
Method to set the sizes by code, as the properties are private. Useful for scaling 'from the outside', for instance taking care of differences between immersive headsets and HoloLens
public:
void SetScaleSizeValues(float minScale, float maxScale, float minDistance, float maxDistance);
public void SetScaleSizeValues (float minScale, float maxScale, float minDistance, float maxDistance);
member this.SetScaleSizeValues : single * single * single * single -> unit
Public Sub SetScaleSizeValues (minScale As Single, maxScale As Single, minDistance As Single, maxDistance As Single)
Parameters
- minScale
- Single
Min scale factor
- maxScale
- Single
Max scale factor
- minDistance
- Single
Min distance from camera
- maxDistance
- Single
Max distance from camera