API ReferenceEditor.MapEditor

MapViewclass

MapViews are owned by the MapViewMgr. They display the MapViewMgr's mapdoc. The MapView provides either a 2d or 3d view of the provided map doc. The rendering mode may be swapped between various 2d and 3d modes dynamically. In addition to basic display functionality the view also provides movement implementation for moving a camera within a 3d view or panning a 2d view.

objectMapView
Namespace
Editor.MapEditor
Assembly
Sandbox.Tools
Declaration
public class Editor.MapEditor.MapView

Methods1

Showing 1 methods

public void BuildRay(Vector3 startRay, Vector3 endRay)PUBLIC

Builds a ray from the mouse cursor

ParameterTypeDescription
startRayVector3
endRayVector3
Returns:void

Properties4

Showing 4 properties

On this page