Table of Contents

Class TraceOptions

Namespace
CounterStrikeSharp.API.Modules.Utils
Assembly
CounterStrikeSharp.API.dll

Controls which physics layers a trace interacts with.

public sealed class TraceOptions
Inheritance
object
TraceOptions

Properties

InteractsAs

Which interaction layers the trace represents (analogous to Source 1 contents).

public Contents InteractsAs { get; set; }

Property Value

Contents

InteractsExclude

Which interaction layers are explicitly excluded.

public Contents InteractsExclude { get; set; }

Property Value

Contents

InteractsWith

Which interaction layers the trace collides with (analogous to Source 1 trace mask).

public Contents InteractsWith { get; set; }

Property Value

Contents