Table of Contents

Class UIScaler

Namespace
KmaxXR
Assembly
KmaxXR.Core.dll
public class UIScaler : MonoBehaviour
Inheritance
UIScaler

Constructors

UIScaler()

public UIScaler()

Fields

matchWidthOrHeight

protected float matchWidthOrHeight

Field Value

float

resolution

protected Vector2Int resolution

Field Value

Vector2Int

Properties

Resolution

public Vector2Int Resolution { get; set; }

Property Value

Vector2Int

SyncAlways

public bool SyncAlways { get; set; }

Property Value

bool

ThisCanvas

public Canvas ThisCanvas { get; }

Property Value

Canvas

Methods

AutoFix()

public void AutoFix()

FixPose(Pose)

public void FixPose(Pose p)

Parameters

p Pose

FixPose(Transform)

public void FixPose(Transform t)

Parameters

t Transform

FixSize(Vector2)

public void FixSize(Vector2 size)

Parameters

size Vector2