# ShapeShaderPair class

Namespace: [Grasshopper2.Imaging.Raycasting](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.imaging.raycasting.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class ShapeShaderPair
```

Represents a single object in a raycasting stack.

## Constructors

- [ShapeShaderPair](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapeshaderpair/ctor.md): Create a new raycasting object.

## Properties

- [Shader](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapeshaderpair/shader.md): Gets the shader of the object.
- [Shape](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapeshaderpair/shape.md): Gets the geometry of the object.
