API ReferenceSandbox.Engine.Utility.RayTrace
public sealed struct Sandbox.Engine.Utility.RayTrace.MeshTraceRequest
Methods
Showing 8 methods
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest.Result Run()
Run the trace and return the result. The result will return the first hit.
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest.Result[] RunAll()
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest WithAllTags(string[] tags)
Only return scene objects with all of these tags
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest WithAnyTags(string[] tags)
Only return scene objects with any of these tags
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest WithoutTags(string[] tags)
Only return scene objects without any of these tags
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest WithTag(string tag)
Only return scene objects with this tag. Subsequent calls to this will add multiple requirements and they'll all have to be met (ie, the scene object will need all tags).
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Engine.Utility.RayTrace |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Engine.Utility.RayTrace.MeshTraceRequest |