> 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/ks.reactor.ksshape.md).

# Class ksShape

Namespace: [KS.Reactor](/reactor/api-reference/ks.reactor.md)\
Assembly: KSCommon.dll

A base class of the shapes used in the scene queries.

```csharp
public abstract class ksShape
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [ksShape](/reactor/api-reference/ks.reactor/ks.reactor.ksshape.md)

#### Derived

[ksBox](/reactor/api-reference/ks.reactor/ks.reactor.ksbox.md), [ksCapsule](/reactor/api-reference/ks.reactor/ks.reactor.kscapsule.md), [ksSphere](/reactor/api-reference/ks.reactor/ks.reactor.kssphere.md)

#### Inherited Members

[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)

## Fields

### m\_shapeType <a href="#ks_reactor_ksshape_m_shapetype" id="ks_reactor_ksshape_m_shapetype"></a>

```csharp
protected ksShape.ShapeTypes m_shapeType
```

#### Field Value

[ksShape](/reactor/api-reference/ks.reactor/ks.reactor.ksshape.md).[ShapeTypes](/reactor/api-reference/ks.reactor/ks.reactor.ksshape/ks.reactor.ksshape.shapetypes.md)

## Properties

### IsQueryShape <a href="#ks_reactor_ksshape_isqueryshape" id="ks_reactor_ksshape_isqueryshape"></a>

Is the shape usable in scene queries?

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

#### Property Value

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

### Type <a href="#ks_reactor_ksshape_type" id="ks_reactor_ksshape_type"></a>

Type of shape.

```csharp
public ksShape.ShapeTypes Type { get; }
```

#### Property Value

[ksShape](/reactor/api-reference/ks.reactor/ks.reactor.ksshape.md).[ShapeTypes](/reactor/api-reference/ks.reactor/ks.reactor.ksshape/ks.reactor.ksshape.shapetypes.md)
