> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxoverlapbuffer.md).

# Class pxOverlapBuffer

Namespace: [KS.Reactor.Server.PhysX](/reactor/api-reference/ks.reactor.server.physx.md)\
Assembly: KSReactor.dll

```csharp
public class pxOverlapBuffer : UnmanagedPtr
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [UnmanagedPtr](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.unmanagedptr.md) ← [pxOverlapBuffer](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxoverlapbuffer.md)

#### Inherited Members

[UnmanagedPtr.Find\<T>(IntPtr)](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.unmanagedptr.md#KS_Reactor_Server_PhysX_UnmanagedPtr_Find__1_System_IntPtr_), [UnmanagedPtr.SetUnmanagedPtr(IntPtr, UnmanagedPtr.ReleaseCallback)](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.unmanagedptr.md#KS_Reactor_Server_PhysX_UnmanagedPtr_SetUnmanagedPtr_System_IntPtr_KS_Reactor_Server_PhysX_UnmanagedPtr_ReleaseCallback_), [UnmanagedPtr.Release()](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.unmanagedptr.md#KS_Reactor_Server_PhysX_UnmanagedPtr_Release), [UnmanagedPtr.UserData](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.unmanagedptr.md#KS_Reactor_Server_PhysX_UnmanagedPtr_UserData), [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### pxOverlapBuffer(uint) <a href="#ks_reactor_server_physx_pxoverlapbuffer__ctor_system_uint32" id="ks_reactor_server_physx_pxoverlapbuffer__ctor_system_uint32"></a>

```csharp
public pxOverlapBuffer(uint bufferSize = 2048)
```

#### Parameters

`bufferSize` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

## Properties

### Block <a href="#ks_reactor_server_physx_pxoverlapbuffer_block" id="ks_reactor_server_physx_pxoverlapbuffer_block"></a>

```csharp
public pxOverlapHit Block { get; }
```

#### Property Value

[pxOverlapHit](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxoverlaphit.md)

### HasAnyHits <a href="#ks_reactor_server_physx_pxoverlapbuffer_hasanyhits" id="ks_reactor_server_physx_pxoverlapbuffer_hasanyhits"></a>

```csharp
public bool HasAnyHits { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### HasBlock <a href="#ks_reactor_server_physx_pxoverlapbuffer_hasblock" id="ks_reactor_server_physx_pxoverlapbuffer_hasblock"></a>

```csharp
public bool HasBlock { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Hits <a href="#ks_reactor_server_physx_pxoverlapbuffer_hits" id="ks_reactor_server_physx_pxoverlapbuffer_hits"></a>

```csharp
public ArraySegment<pxOverlapHit> Hits { get; }
```

#### Property Value

[ArraySegment](https://learn.microsoft.com/dotnet/api/system.arraysegment-1)<[pxOverlapHit](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxoverlaphit.md)>

### TouchCount <a href="#ks_reactor_server_physx_pxoverlapbuffer_touchcount" id="ks_reactor_server_physx_pxoverlapbuffer_touchcount"></a>

```csharp
public uint TouchCount { get; }
```

#### Property Value

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)
