Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

SystemInfo

class in UnityEngine

Предложить изменения

Успех!

Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.

Закрыть

Ошибка внесения изменений

По определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.

Закрыть

Отменить

Руководство

Описание

Access system and hardware information.

Use this class to figure out capabilities of the underlying platform and hardware. For example, you can check which RenderTexture formats are supported (SupportsRenderTextureFormat), how many CPU threads are available (processorCount), and so on.

Статические переменные

deviceModelThe model of the device (Read Only).
deviceNameThe user defined name of the device (Read Only).
deviceTypeReturns the kind of device the application is running on (Read Only).
deviceUniqueIdentifierA unique device identifier. It is guaranteed to be unique for every device (Read Only).
graphicsDeviceIDThe identifier code of the graphics device (Read Only).
graphicsDeviceNameThe name of the graphics device (Read Only).
graphicsDeviceTypeПроизводитель графического адаптера (Read Only).
graphicsDeviceVendorПроизводитель графического адаптера (Read Only).
graphicsDeviceVendorIDThe identifier code of the graphics device vendor (Read Only).
graphicsDeviceVersionПроизводитель графического адаптера (Read Only).
graphicsMemorySizeAmount of video memory present (Read Only).
graphicsMultiThreadedIs graphics device using multi-threaded rendering (Read Only)?
graphicsShaderLevelGraphics device shader capability level (Read Only).
maxTextureSizeMaximum texture size (Read Only).
npotSupportWhat NPOT (non-power of two size) texture support does the GPU provide? (Read Only)
operatingSystemOperating system name with version (Read Only).
processorCountNumber of processors present (Read Only).
processorFrequencyНазвание процессора (Read Only).
processorTypeНазвание процессора (Read Only).
supportedRenderTargetCountHow many simultaneous render targets (MRTs) are supported? (Read Only)
supports3DTexturesAre 3D (volume) textures supported? (Read Only)
supportsAccelerometerIs an accelerometer available on the device?
supportsComputeShadersAre compute shaders supported? (Read Only)
supportsGyroscopeIs a gyroscope available on the device?
supportsImageEffectsAre image effects supported? (Read Only)
supportsInstancingIs GPU draw call instancing supported? (Read Only)
supportsLocationServiceIs the device capable of reporting its location?
supportsRawShadowDepthSamplingIs sampling raw depth from shadowmaps supported? (Read Only)
supportsRenderTexturesAre render textures supported? (Read Only)
supportsRenderToCubemapAre cubemap render textures supported? (Read Only)
supportsShadowsAre built-in shadows supported? (Read Only)
supportsSparseTexturesAre sparse textures supported? (Read Only)
supportsStencilIs the stencil buffer supported? (Read Only)
supportsVibrationIs the device capable of providing the user haptic feedback by vibration?
systemMemorySizeAmount of system memory present (Read Only).

Статические функции

SupportsRenderTextureFormatIs render texture format supported?
SupportsTextureFormatIs texture format supported on this device?