API ReferenceSandbox
SceneTraceResultclass
object→SceneTraceResult
Methods3
Showing 3 methods
public bool HasTag(Sandbox.StringToken tag)
Returns true if the hit shape has this tag.
| Parameter | Type | Description |
|---|---|---|
| tag | StringToken | — |
Returns:
bool—No results match this filter.
Properties2
Showing 2 properties
public float Sandbox.SceneTraceResult.Distance { get; set; }
The distance between start and end positions.
Returns:
float—public string[] Sandbox.SceneTraceResult.Tags { get; set; }
The tags that the hit shape had.
Obsolete: Use HasTag instead.
Returns:
string[]—No results match this filter.