Click or drag to resize

ViewportSetShadowAtlasQuadrantSubdiv Method

Note: This API is now obsolete.

Sets the number of subdivisions to use in the specified quadrant. A higher number of subdivisions allows you to have more shadows in the scene at once, but reduces the quality of the shadows. A good practice is to have quadrants with a varying number of subdivisions and to have as few subdivisions as possible.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetShadowAtlasQuadrantSubdiv is deprecated. Use the ShadowAtlasQuad3 property instead.")]
public void SetShadowAtlasQuadrantSubdiv(
	int quadrant,
	ViewportShadowAtlasQuadrantSubdiv subdiv
)

Parameters

quadrant
Type: SystemInt32

[Missing <param name="quadrant"/> documentation for "M:Godot.Viewport.SetShadowAtlasQuadrantSubdiv(System.Int32,Godot.Viewport.ShadowAtlasQuadrantSubdiv)"]

subdiv
Type: GodotViewportShadowAtlasQuadrantSubdiv

[Missing <param name="subdiv"/> documentation for "M:Godot.Viewport.SetShadowAtlasQuadrantSubdiv(System.Int32,Godot.Viewport.ShadowAtlasQuadrantSubdiv)"]

See Also