# ExtensionMethods.ToSimulatedTextureProjectionMode examples

Examples for [ToSimulatedTextureProjectionMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.extensionmethods/tosimulatedtextureprojectionmode.md) in Rhino.Render.ExtensionMethods.

## C#

```cs
using Rhino.Render;

// As an extension method
SimulatedTexture.ProjectionModes result = e.ToSimulatedTextureProjectionMode();

// As a static method
result = ExtensionMethods.ToSimulatedTextureProjectionMode(e);
```

## Python

```python
import clr
clr.AddReference('RhinoCommon')
import Rhino.Render
clr.ImportExtensions(Rhino.Render)

# As an extension method
result = e.ToSimulatedTextureProjectionMode()

# As a static method
result = Rhino.Render.ExtensionMethods.ToSimulatedTextureProjectionMode(e)
```
