s&box docs
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 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).

Metadata

FieldValue
NamespaceSandbox.Engine.Utility.RayTrace
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Engine.Utility.RayTrace.MeshTraceRequest

On this page