C# Class UnityEngine.DynamicGI

Allows to control the dynamic Global Illumination.

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
SetEmissive ( Renderer renderer, Color color ) : void

Allows to set an emissive color for a given renderer quickly, without the need to render the emissive input for the entire system.

UpdateMaterials ( Renderer renderer ) : void

Schedules an update of the albedo and emissive textures of a system that contains the renderer or the terrain.

UpdateMaterials ( Terrain terrain ) : void

Schedules an update of the albedo and emissive textures of a system that contains the renderer or the terrain.

UpdateMaterials ( Terrain terrain, int x, int y, int width, int height ) : void

Schedules an update of the albedo and emissive textures of a system that contains the renderer or the terrain.

Private Methods

Method Description
INTERNAL_CALL_SetEmissive ( Renderer renderer, Color &color ) : void
INTERNAL_CALL_UpdateMaterialsForTerrain ( Terrain terrain, Rect &uvBounds ) : void
UpdateEnvironment ( ) : void
UpdateMaterialsForRenderer ( Renderer renderer ) : void
UpdateMaterialsForTerrain ( Terrain terrain, Rect uvBounds ) : void

Method Details

SetEmissive() public static method

Allows to set an emissive color for a given renderer quickly, without the need to render the emissive input for the entire system.

public static SetEmissive ( Renderer renderer, Color color ) : void
renderer Renderer The Renderer that should get a new color.
color Color The emissive Color.
return void

UpdateMaterials() public static method

Schedules an update of the albedo and emissive textures of a system that contains the renderer or the terrain.

public static UpdateMaterials ( Renderer renderer ) : void
renderer Renderer The Renderer to use when searching for a system to update.
return void

UpdateMaterials() public static method

Schedules an update of the albedo and emissive textures of a system that contains the renderer or the terrain.

public static UpdateMaterials ( Terrain terrain ) : void
terrain Terrain The Terrain to use when searching for systems to update.
return void

UpdateMaterials() public static method

Schedules an update of the albedo and emissive textures of a system that contains the renderer or the terrain.

public static UpdateMaterials ( Terrain terrain, int x, int y, int width, int height ) : void
terrain Terrain The Terrain to use when searching for systems to update.
x int
y int
width int
height int
return void