Version: 5.6

SystemInfo

class in UnityEngine

マニュアルに切り替える

説明

システム情報とハードウェア情報にアクセスします。

基本となるプラットフォームとハードウェアの機能を把握するにはこのクラスを使用します。たとえば、 RenderTexture 形式がサポートされているのか (SupportsRenderTextureFormat)、どのくらい多くの CPU スレッドが使用可能か(processorCount)、などを確認できます。

Static 変数

batteryLevelThe current battery level (Read Only).
batteryStatusReturns the current status of the device's battery (Read Only).
copyTextureSupportさまざまな Graphics.CopyTexture ケースをサポートします (読み込み専用)。
deviceModelデバイスのモデル(読み取り専用)
deviceNameデバイス名(読み取り専用)
deviceTypeデバイスのタイプを返します(読み取り専用)
deviceUniqueIdentifier一意のデバイス識別子。すべてのデバイスで一意であることが保証されています(読み取り専用)
graphicsDeviceIDグラフィックデバイスの識別コード(読み取り専用)
graphicsDeviceNameグラフィックデバイス名(読み取り専用)
graphicsDeviceTypeグラフィックデバイスがサポートしている、グラフィックス API タイプ(読み取り専用)
graphicsDeviceVendorグラフィックデバイスのベンダー(読み取り専用)
graphicsDeviceVendorIDグラフィックデバイスのベンダーの識別コード(読み取り専用)
graphicsDeviceVersionグラフィックデバイスがサポートしている、グラフィックス API タイプとドライバーのバージョン(読み取り専用)
graphicsMemorySizeビデオメモリの量(読み取り専用)
graphicsMultiThreadedグラフィックデバイスがマルチスレッドレンダリングを行うかどうか(読み取り専用)
graphicsShaderLevelグラフィックデバイスのシェーダーの性能レベル(読み取り専用)
graphicsUVStartsAtTopReturns true if the texture UV coordinate convention for this platform has Y starting at the top of the image.
maxCubemapSizeMaximum Cubemap texture size (Read Only).
maxTextureSizeテクスチャの最大サイズ(読み取り専用)
npotSupportGPU はどのような NPOT (2の2乗でない) テクスチャのサポートを提供するか。(Read Only)
operatingSystemOS 名とバージョン(読み取り専用)
operatingSystemFamilyReturns the operating system family the game is running on (Read Only).
processorCount現在のプロセッサーの数(読み取り専用)
processorFrequencyMHz単位のプロセッサー周波数(読み取り専用)
processorTypeプロセッサー名(読み取り専用)
supportedRenderTargetCountサポートしているレンダリングターゲットの数(読み取り専用)
supports2DArrayTextures2D 配列テクスチャがサポートされているかどうか(読み取り専用)
supports3DRenderTexturesAre 3D (volume) RenderTextures supported? (Read Only)
supports3DTextures3D (volume) テクスチャがサポートされているかどうか(読み取り専用)
supportsAccelerometer加速度センサーを利用できるかどうか
supportsAudioプレイバックに可能なオーディオ機器があるかどうか。
supportsComputeShadersCompute シェーダーがサポートされているかどうか(読み取り専用)
supportsCubemapArrayTexturesAre Cubemap Array textures supported? (Read Only)
supportsGyroscopeジャイロスコープが利用できるかどうか
supportsImageEffectsイメージエフェクトがサポートされているかどうか(読み取り専用)
supportsInstancingGPU ドローコールのインスタンス化がサポートされているかどうか(読み取り専用)
supportsLocationServiceロケーションサービス( GPS )が利用できるかどうか
supportsMotionVectorsWhether motion vectors are supported on this platform.
supportsRawShadowDepthSamplingサポートされているシャドウマップからのサンプリングは生のデプスか?(Read Only)
supportsRenderToCubemapキューブマップがサポートされているかどうか(読み取り専用)
supportsShadowsグラフィックスカードが影をサポートしているかどうか(読み取り専用)
supportsSparseTexturesスパーステクスチャはサポートされますか。(Read Only)
supportsVibrationそのデバイスは振動によるユーザーの触覚フィードバックを提供することができるか。
systemMemorySizeシステムメモリの量(読み取り専用)
unsupportedIdentifier現在のプラットフォームでサポートされていない SystemInfo 文字列プロパティーからの戻り値
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)

Static 関数

SupportsRenderTextureFormatレンダリングテクスチャのフォーマットがサポートされているかどうか
SupportsTextureFormatレンダリングテクスチャのフォーマットがサポートされているかどうか