API Reference › Natives
CGameTrace
StructNamespace: SwiftlyS2.Shared.Natives · Assembly: SwiftlyS2.CS2.dll
public struct CGameTraceProperties
Methods
public readonly bool HitEntity<T>(out T entity) where T : class, ISchemaClass<T>Parameters
- entityT
Returns
public readonly bool HitEntityByDesignerName<T>(string designerName, out T outEntity, NameMatchType matchType = NameMatchType.StartsWith) where T : class, ISchemaClass<T>Parameters
- designerNamestring
- outEntityT
- matchTypeNameMatchTypeoptional
Returns
public readonly bool HitEntityByDesignerName<T>(string designerName, NameMatchType matchType = NameMatchType.StartsWith) where T : class, ISchemaClass<T>Parameters
- designerNamestring
- matchTypeNameMatchTypeoptional
Returns
Fields
public CPhysSurfacePropertiesTrace* SurfacePropertiesField Value