Api Editor MapDoc MapStaticOverlay
class

MapStaticOverlay

public sealed class MapStaticOverlay : MapMesh

An overlay which is rendered using a mesh generated by projecting faces onto surrounding geometry. Baked during map compile so that there is no runtime component. Also supports being limited to specific targets.

Constructors

MapStaticOverlay(MapDocument mapDocument)

Methods

Void CreateCenteredQuad(Vector2 size, Material material)
Assembly: Sandbox.Tools Namespace: Editor.MapDoc Full Name: Editor.MapDoc.MapStaticOverlay