Version: 2018.1

GraphicsSettings

class in UnityEngine.Rendering

/

継承:Object

マニュアルに切り替える

説明

Graphics Settings のスクリプトインターフェース

Static 変数

lightsUseColorTemperatureWhether to use a Light's color temperature when calculating the final color of that Light."
lightsUseLinearIntensityIf this is true, Light intensity is multiplied against linear color values. If it is false, gamma color values are used.
renderPipelineAssetThe RenderPipelineAsset that describes how the Scene should be rendered.
transparencySortAxisAn axis that describes the direction along which the distances of objects are measured for the purpose of sorting.
transparencySortModeソートモードの透明オブジェクト。

Static 関数

GetCustomShaderビルトインシェーダーの代わりに使用するカスタムシェーダーを取得します。
GetShaderModeビルトインシェーダーモードを取得します。
HasShaderDefineReturns true if shader define was set when compiling shaders for current GraphicsTier.
SetCustomShaderビルトインシェーダーの代わりに使用するカスタムシェーダーを設定します。
SetShaderModeビルトインシェーダーモードを設定します。

継承メンバー

変数

hideFlagsオブジェクトは非表示、シーンに保存、ユーザーが編集可能、などを設定する。
nameオブジェクト名

Public 関数

GetInstanceIDオブジェクトのインスタンス ID を返します
ToStringReturns the name of the GameObject.

Static 関数

Destroyゲームオブジェクトやコンポーネント、アセットを削除します
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoad新しいシーンを読み込んでもオブジェクトが自動で破壊されないように設定します
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsOfTypeタイプから見つけたすべてのアクティブのオブジェクト配列を返します
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。