SystemInfo

class in UnityEngine

Cambiar al Manual

Descripción

Acceder a la información del sistema.

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.

Variables Estáticas

batteryLevelThe current battery level (Read Only).
batteryStatusReturns the current status of the device's battery (Read Only).
copyTextureSupportSupport for various Graphics.CopyTexture cases (Read Only).
deviceModelEl modelo del dispositivo (Read Only).
deviceNameEl nombre del dispositivo definido por el usuario (Read Only).
deviceTypeDevuelve el tipo de dispositivo en el que se está ejecutando la aplicación.
deviceUniqueIdentifierIdentificador de dispositivo único. Asegura ser único para cada dispositivo (Read Only).
graphicsDeviceIDEl código identificativo del dispositivo gráfico (Read Only).
graphicsDeviceNameEl nombre del dispositivo gráfico (Read Only).
graphicsDeviceTypeEl nombre del dispositivo gráfico (Read Only).
graphicsDeviceVendorThe vendor of the graphics device (Read Only).
graphicsDeviceVendorIDThe identifier code of the graphics device vendor (Read Only).
graphicsDeviceVersionEl código identificativo del dispositivo gráfico (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).
graphicsUVStartsAtTopReturns true if the texture UV coordinate convention for this platform has Y starting at the top of the image.
hasHiddenSurfaceRemovalOnGPUTrue if the GPU supports hidden surface removal.
maxCubemapSizeMaximum Cubemap texture size (Read Only).
maxTextureSizeMaximum texture size (Read Only).
npotSupportWhat NPOT (non-power of two size) texture support does the GPU provide? (Read Only)
operatingSystemNombre y versión del sistema operativo (Read Only).
operatingSystemFamilyReturns the operating system family the game is running on (Read Only).
processorCountCantidad de procesadores (Read Only).
processorFrequencyNombre del procesador (Read Only).
processorTypeNombre del procesador (Read Only).
supportedRenderTargetCountHow many simultaneous render targets (MRTs) are supported? (Read Only)
supports2DArrayTexturesAre 2D Array textures supported? (Read Only)
supports32bitsIndexBufferAre 32-bit index buffers supported? (Read Only)
supports3DRenderTexturesAre 3D (volume) RenderTextures supported? (Read Only)
supports3DTexturesAre 3D (volume) textures supported? (Read Only)
supportsAccelerometer¿Hay un acelerómetro en el dispositivo?
supportsAsyncComputeReturns true when the platform supports asynchronous compute queues and false if otherwise.
supportsAsyncGPUReadbackReturns true if asynchronous readback of GPU data is available for this device and false otherwise.
supportsAudioIs there an Audio device available for playback? (Read Only)
supportsComputeShadersAre compute shaders supported? (Read Only)
supportsCubemapArrayTexturesAre Cubemap Array textures supported? (Read Only)
supportsGPUFenceThis functionality is deprecated, and should no longer be used. Please use SystemInfo.supportsGraphicsFence.
supportsGyroscope¿Hay un giroscopio en el dispositivo?
supportsHardwareQuadTopologyDoes the hardware support quad topology? (Read Only)
supportsImageEffectsAre image effects supported? (Read Only)
supportsInstancingIs GPU draw call instancing supported? (Read Only)
supportsLocationService¿Es el dispositivo capaz de indicar su posición geográfica?
supportsMipStreamingIs streaming of texture mip maps supported? (Read Only)
supportsMotionVectorsWhether motion vectors are supported on this platform.
supportsMultisampleAutoResolveReturns true if multisampled textures are resolved automatically
supportsMultisampledTexturesAre multisampled textures supported? (Read Only)
supportsRawShadowDepthSamplingIs sampling raw depth from shadowmaps supported? (Read Only)
supportsRenderToCubemapAre cubemap render textures supported? (Read Only)
supportsSeparatedRenderTargetsBlendReturns true when the platform supports different blend modes when rendering to multiple render targets, or false otherwise.
supportsShadowsAre built-in shadows supported? (Read Only)
supportsSparseTexturesAre sparse textures supported? (Read Only)
supportsTextureWrapMirrorOnceReturns true if the 'Mirror Once' texture wrap mode is supported. (Read Only)
supportsVibrationIs the device capable of providing the user haptic feedback by vibration?
systemMemorySizeAmount of system memory present (Read Only).
unsupportedIdentifierValue returned by SystemInfo string properties which are not supported on the current platform.
usesReversedZBufferThis property is true if the current platform uses a reversed depth buffer (where values range from 1 at the near plane and 0 at far plane), and false if the depth buffer is normal (0 is near, 1 is far). (Read Only)

Funciones Estáticas

IsFormatSupportedVerifies that the specified graphics format is supported for the specified usage.
SupportsBlendingOnRenderTextureFormatIs blending supported on render texture format?
SupportsRenderTextureFormatIs render texture format supported?
SupportsTextureFormatIs texture format supported on this device?