Click or drag to resize

VisualServerInstanceSetExtraVisibilityMargin Method

Sets a margin to increase the size of the AABB when culling objects from the view frustum. This allows you to avoid culling objects that fall outside the view frustum. Equivalent to ExtraCullMargin.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void InstanceSetExtraVisibilityMargin(
	RID instance,
	float margin
)

Parameters

instance
Type: GodotRID

[Missing <param name="instance"/> documentation for "M:Godot.VisualServer.InstanceSetExtraVisibilityMargin(Godot.RID,System.Single)"]

margin
Type: SystemSingle

[Missing <param name="margin"/> documentation for "M:Godot.VisualServer.InstanceSetExtraVisibilityMargin(Godot.RID,System.Single)"]

See Also