Class TuringProvider
[ExecuteInEditMode]
[DefaultExecutionOrder(-1000)]
[DisallowMultipleComponent]
public sealed class TuringProvider : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourTuringProvider
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.useGUILayoutMonoBehaviour.runInEditModeBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.transformComponent.gameObjectComponent.tagObject.GetInstanceID()Object.GetHashCode()Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
- Extension Methods
Fields
ScriptPriority
public const int ScriptPriority = -1000
Field Value
doubleWidthFlag
[HideInInspector]
public int doubleWidthFlag
Field Value
portrait
[HideInInspector]
public bool portrait
Field Value
screenSizeInInch
[HideInInspector]
public float screenSizeInInch
Field Value
Properties
CurrentDisplay
public static TuringDisplay CurrentDisplay { get; }
Property Value
CurrentFrame
public static TuringFrame CurrentFrame { get; set; }
Property Value
DisplayInch
public static float DisplayInch { get; }
Property Value
DisplayMetersPerPixel
The meters per pixel conversion factor computed from the current DisplaySize and DisplayReferenceResolution.
[Obsolete("Use DisplayMetersPerPixelForReferenceResolution or DisplayMetersPerPixelsForNativeResolution instead.")]
public static Vector2 DisplayMetersPerPixel { get; set; }
Property Value
- Vector2
Remarks
This property is deprecated. Use either the DisplayMetersPerPixelForReferenceResolution or DisplayMetersPerPixelsForNativeResolution property instead. See the comments for these two properties for guidance on which one to use.
DisplayMetersPerPixelForNativeResolution
public static Vector2 DisplayMetersPerPixelForNativeResolution { get; set; }
Property Value
- Vector2
DisplayMetersPerPixelForReferenceResolution
public static Vector2 DisplayMetersPerPixelForReferenceResolution { get; set; }
Property Value
- Vector2
DisplayReferenceResolution
public static Vector2Int DisplayReferenceResolution { get; }
Property Value
- Vector2Int
DisplayReferenceSize
public static Vector2 DisplayReferenceSize { get; }
Property Value
- Vector2
DisplayResolution
public static Vector2Int DisplayResolution { get; }
Property Value
- Vector2Int
DisplayScaleFactor
public static float DisplayScaleFactor { get; set; }
Property Value
DisplaySize
public static Vector2 DisplaySize { get; }
Property Value
- Vector2
IsInitialized
public static bool IsInitialized { get; set; }
Property Value
PixelsizeScreen_mm
public static float PixelsizeScreen_mm { get; set; }
Property Value
ScreenAspectRatio
public static float ScreenAspectRatio { get; }
Property Value
StylueScaler
public static float StylueScaler { get; }
Property Value
StylusTarget
Gets a reference to the default stylus target.
public static TuringTarget StylusTarget { get; set; }
Property Value
Remarks
If TuringProvider.IsInitialized is false, this property will be set to null.
TuringCamera
public static TuringCamera TuringCamera { get; set; }
Property Value
ViewerScale
public static float ViewerScale { get; set; }
Property Value
WindowSize
public static Vector2 WindowSize { get; }
Property Value
- Vector2
WindowSizePixelsForNativeResolution
public static Vector2Int WindowSizePixelsForNativeResolution { get; }
Property Value
- Vector2Int
WindowSizePixelsForReferenceResolution
public static Vector2Int WindowSizePixelsForReferenceResolution { get; }
Property Value
- Vector2Int
Methods
InitInfo()
public void InitInfo()