TraceCollisionAttributes
Struct TraceCollisionAttributes
Namespace: SwiftlyS2.Shared.Trace
Assembly: SwiftlyS2.CS2.dll
public struct TraceCollisionAttributesInherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
Constructors
TraceCollisionAttributes()
public TraceCollisionAttributes()Properties
CollisionFunctionMask
The collision function mask that determines which collision functions apply.
public readonly CollisionFunctionMask_t CollisionFunctionMask { get; }CollisionGroup
The collision group that defines the collision behavior for these attributes.
public readonly CollisionGroup CollisionGroup { get; }DetailLayerMask
The detail layer mask that defines which detail layers are included in collision detection.
public readonly ushort DetailLayerMask { get; }DetailLayerMaskType
The type of detail layer mask being used.
public readonly byte DetailLayerMaskType { get; }EntityId
The entity ID associated with these collision attributes.
public readonly uint EntityId { get; }HierarchyId
The hierarchy ID associated with these collision attributes.
public readonly ushort HierarchyId { get; }InteractsAs
The interaction layer mask defining the types of surfaces or entities that this object interacts as during collision.
public readonly ulong InteractsAs { get; }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; }InteractsWith
The interaction layer mask defining the types of surfaces or entities that this object interacts with during collision.
public readonly ulong InteractsWith { get; }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; }TargetDetailLayer
The target detail layer for collision detection.
public readonly byte TargetDetailLayer { get; }Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()- string — The fully qualified type name.