swiftlys2/docs/api/ai/
API Reference Trace

PhysSurfacePropertiesTrace

Class
Namespace: SwiftlyS2.Shared.Trace · Assembly: SwiftlyS2.CS2.dll
public class PhysSurfacePropertiesTrace
Inherits object
View source

Properties

AudioParams

The audio processing parameters for this surface.

public PhysSurfacePropertiesAudioTrace? AudioParams { get; }

AudioSounds

The sound names associated with interactions on this surface.

public PhysSurfacePropertiesSoundNamesTrace? AudioSounds { get; }

BaseListIndex

The index of the base surface in the material list.

public int BaseListIndex { get; }
Property Value

BaseNameHash

The hashed value of the base surface name this surface is derived from.

public uint BaseNameHash { get; }
Property Value

Description

The description of this surface and its properties.

public string Description { get; }
Property Value

Hidden

Indicates whether this surface is hidden or internal.

public bool Hidden { get; }
Property Value

ListIndex

The index of this surface in the material list.

public int ListIndex { get; }
Property Value

Name

The name of the surface.

public string Name { get; }
Property Value

NameHash

The hashed value of the surface name for faster lookup.

public uint NameHash { get; }
Property Value

Physics

The physics properties of this surface.

public PhysSurfacePropertiesPhysicsTrace? Physics { get; }

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()
Returns
A string that represents the current object.