편집

다음을 통해 공유


NonNativeKeyboard.SetScaleSizeValues(Single, Single, Single, Single) Method

Definition

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

Applies to