Skip to content

Class CollisionProperties.Entry ​

Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll

A named collision property.

csharp
public sealed record CollisionProperties.Entry : IEquatable<CollisionProperties.Entry>

Inheritance ​

object ← CollisionProperties.Entry

Implements ​

IEquatable<CollisionProperties.Entry>

Constructors ​

Entry(string, string, string[], string[], string[]) ​

A named collision property.

csharp
public Entry(string Name, string CollisionGroup, string[] InteractAs, string[] InteractWith, string[] InteractExclude)

Parameters ​

Name string

The name it is referred to by.

CollisionGroup string

The collision group it puts collision in.

InteractAs string[]

The interaction layers collision with it is in.

InteractWith string[]

The interaction layers collision with it collides with.

InteractExclude string[]

The interaction layers collision with it never collides with.

Properties ​

CollisionGroup ​

The collision group it puts collision in.

csharp
public string CollisionGroup { get; init; }

Property Value ​

string

InteractAs ​

The interaction layers collision with it is in.

csharp
public string[] InteractAs { get; init; }

Property Value ​

string[]

InteractExclude ​

The interaction layers collision with it never collides with.

csharp
public string[] InteractExclude { get; init; }

Property Value ​

string[]

InteractWith ​

The interaction layers collision with it collides with.

csharp
public string[] InteractWith { get; init; }

Property Value ​

string[]

Name ​

The name it is referred to by.

csharp
public string Name { get; init; }

Property Value ​

string

This project is not affiliated with Valve Software. Source 2 is a trademark and/or registered trademark of Valve Corporation.