SwiftlyS2

TraceCollisionAttributes

Struct TraceCollisionAttributes

Namespace: SwiftlyS2.Shared.Trace

Assembly: SwiftlyS2.CS2.dll

public struct TraceCollisionAttributes

Inherited Members

Constructors

TraceCollisionAttributes()

public TraceCollisionAttributes()

Properties

CollisionFunctionMask

The collision function mask that determines which collision functions apply.

public readonly CollisionFunctionMask_t CollisionFunctionMask { get; }
Property Value

CollisionGroup

The collision group that defines the collision behavior for these attributes.

public readonly CollisionGroup CollisionGroup { get; }
Property Value

DetailLayerMask

The detail layer mask that defines which detail layers are included in collision detection.

public readonly ushort DetailLayerMask { get; }
Property Value

DetailLayerMaskType

The type of detail layer mask being used.

public readonly byte DetailLayerMaskType { get; }
Property Value

EntityId

The entity ID associated with these collision attributes.

public readonly uint EntityId { get; }
Property Value

HierarchyId

The hierarchy ID associated with these collision attributes.

public readonly ushort HierarchyId { get; }
Property Value

InteractsAs

The interaction layer mask defining the types of surfaces or entities that this object interacts as during collision.

public readonly ulong InteractsAs { get; }
Property Value

InteractsExclude

The interaction layer mask defining the types of surfaces or entities that this object excludes from interaction during collision.

public readonly ulong InteractsExclude { get; }
Property Value

InteractsWith

The interaction layer mask defining the types of surfaces or entities that this object interacts with during collision.

public readonly ulong InteractsWith { get; }
Property Value

OwnerId

The owner entity ID associated with these collision attributes. This is typically the ID of the entity that owns or created this object.

public readonly uint OwnerId { get; }
Property Value

TargetDetailLayer

The target detail layer for collision detection.

public readonly byte TargetDetailLayer { get; }
Property Value

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()
Returns
  • string — The fully qualified type name.

On this page