Skip to content

GraphicsSettingsData ​

GraphicsSettingsDataはプロジェクト設定で使用する型です。下記にゲームコードから利用できる宣言を掲載します。

使い方と前提条件 · C# API一覧

型の情報 ​

  • 名前空間:NEMEngine
  • 型:NEMEngine.GraphicsSettingsData(Class)

clearColor ​

csharp
public Color4 clearColor

Skyboxがない背景の色です。C#からの変更は実行中だけに反映します。

操作:読取・変更。

contributionCulling ​

csharp
public bool contributionCulling

画面上への寄与が小さい描画を省きます。

操作:読取・変更。

displayOutput ​

csharp
public DisplayOutputMode displayOutput

SDR、HDR10、scRGBの表示出力方式です。対応ディスプレイとOS設定が必要です。

操作:読取・変更。

doubleBuffering ​

csharp
public bool doubleBuffering

GPU frame contextを2つ使い、CPUとGPUの進行を重ねます。

操作:読取・変更。

frustumCulling ​

csharp
public bool frustumCulling

Cameraの視錐台外の描画を省きます。

操作:読取・変更。

maximumLuminanceNits ​

csharp
public float maximumLuminanceNits

表示先の最大輝度です。単位はnitです。

操作:読取・変更。

meshLOD ​

csharp
public bool meshLOD

画面上の大きさに応じたMeshのLODを使用します。

操作:読取・変更。

meshLOD0PixelThreshold ​

csharp
public float meshLOD0PixelThreshold

次のLODへ切り替える画面上の大きさです。単位はpixelです。

操作:読取・変更。

meshLOD1PixelThreshold ​

csharp
public float meshLOD1PixelThreshold

次のLODへ切り替える画面上の大きさです。単位はpixelです。

操作:読取・変更。

meshLOD2PixelThreshold ​

csharp
public float meshLOD2PixelThreshold

次のLODへ切り替える画面上の大きさです。単位はpixelです。

操作:読取・変更。

normalConeCulling ​

csharp
public bool normalConeCulling

法線の向きから見えないMeshletを省きます。

操作:読取・変更。

occlusionCulling ​

csharp
public bool occlusionCulling

他の物体に隠れた描画を省きます。

操作:読取・変更。

paperWhiteNits ​

csharp
public float paperWhiteNits

基準の白を何nitで表示するかを指定します。

操作:読取・変更。

rayTracingDownsampling ​

csharp
public bool rayTracingDownsampling

Ray Tracingの低解像度計算を使います。

操作:読取・変更。

rayTracingReflections ​

csharp
public bool rayTracingReflections

Ray Tracing反射を使う希望値です。

操作:読取・変更。

rayTracingShadows ​

csharp
public bool rayTracingShadows

Inline Ray Tracingの影を使う希望値です。

操作:読取・変更。

softShadowSampleCount ​

csharp
public uint softShadowSampleCount

ソフトシャドウのサンプル数です。画質とGPU負荷が変わります。

操作:読取・変更。

useMeshShader ​

csharp
public bool useMeshShader

Mesh Shaderを使いたいかを指定します。非対応GPUでは実際の経路が制限されます。

操作:読取・変更。

実行時の扱い ​

Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。

現行版マニュアル · 8ea58ba2 · 2026-10-28確認