> 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.pxconvexmesh.md).

# Class pxConvexMesh

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

```csharp
public class pxConvexMesh : pxGeometry
```

#### Inheritance

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

#### Inherited Members

[pxGeometry.ComputePenetration(ref ksVector3, ref float, IntPtr, ref ksVector3, ref ksQuaternion, IntPtr, ref ksVector3, ref ksQuaternion)](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxgeometry.md#KS_Reactor_Server_PhysX_pxGeometry_ComputePenetration_KS_Reactor_ksVector3__System_Single__System_IntPtr_KS_Reactor_ksVector3__KS_Reactor_ksQuaternion__System_IntPtr_KS_Reactor_ksVector3__KS_Reactor_ksQuaternion__), [pxGeometry.GetClosestPoint(ref ksVector3, IntPtr, ref ksVector3, ref ksQuaternion, ref ksVector3)](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxgeometry.md#KS_Reactor_Server_PhysX_pxGeometry_GetClosestPoint_KS_Reactor_ksVector3__System_IntPtr_KS_Reactor_ksVector3__KS_Reactor_ksQuaternion__KS_Reactor_ksVector3__), [pxGeometry.GetWorldBounds(IntPtr, ref ksVector3, ref ksQuaternion, ref ksBounds)](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxgeometry.md#KS_Reactor_Server_PhysX_pxGeometry_GetWorldBounds_System_IntPtr_KS_Reactor_ksVector3__KS_Reactor_ksQuaternion__KS_Reactor_ksBounds__), [pxGeometry.Type](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxgeometry.md#KS_Reactor_Server_PhysX_pxGeometry_Type), [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

### pxConvexMesh(pxConvexMeshData, ksVector3) <a href="#ks_reactor_server_physx_pxconvexmesh__ctor_ks_reactor_server_physx_pxconvexmeshdata_ks_reactor_ksvec" id="ks_reactor_server_physx_pxconvexmesh__ctor_ks_reactor_server_physx_pxconvexmeshdata_ks_reactor_ksvec"></a>

```csharp
public pxConvexMesh(pxConvexMeshData convexMeshData, ksVector3 scale = default)
```

#### Parameters

`convexMeshData` [pxConvexMeshData](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxconvexmeshdata.md)

`scale` ksVector3

## Properties

### ConvexMeshData <a href="#ks_reactor_server_physx_pxconvexmesh_convexmeshdata" id="ks_reactor_server_physx_pxconvexmesh_convexmeshdata"></a>

```csharp
public pxConvexMeshData ConvexMeshData { get; }
```

#### Property Value

[pxConvexMeshData](/reactor/api-reference/ks.reactor.server.physx/ks.reactor.server.physx.pxconvexmeshdata.md)

### Scale <a href="#ks_reactor_server_physx_pxconvexmesh_scale" id="ks_reactor_server_physx_pxconvexmesh_scale"></a>

```csharp
public ksVector3 Scale { get; }
```

#### Property Value

ksVector3
