API ReferenceEditor
Traceclass
Trace for tools, not to be confused with `Sandbox.SceneTrace`
object→Trace
Methods4
Showing 4 methods
public Editor.Trace MeshesOnly()
Only trace against hammer mesh geometry ( CMapMesh nodes )
public static Editor.Trace Ray(Vector3 from, Vector3 to)
Create a trace ray.
| Parameter | Type | Description |
|---|---|---|
| from | Vector3 | Start position in world space. |
| to | Vector3 | End position in world space. |
public Editor.TraceResult Run(Editor.MapDoc.MapWorld world)
Runs a trace against given world.
| Parameter | Type | Description |
|---|---|---|
| world | MapWorld | — |
No results match this filter.