# ModelTextureMapping class

Namespace: [Grasshopper.Rhinoceros.Render](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.rhinoceros.render.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[TypeName("Model Texture Mapping")]
[TypeDescription("Rhino model texture mapping")]
public sealed class ModelTextureMapping : ModelComponentContent, IGH_PreviewData, IGH_PreviewMeshData
```

Represents a Rhino model texture mapping. Wraps the functionality of the [TextureMapping](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.render.texturemapping/) type.

## Constructors

- [ModelTextureMapping](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/ctor.md): (6 overloads)

## Properties

- [Attribs](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/attribs.md)
- [Capped](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/capped.md)
- [Channel](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/channel.md)
- [ClippingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/clippingbox.md)
- [DefaultAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/defaultattributes.md)
- [Geometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/geometry.md)
- [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/isvalid.md)
- [LocalTransform](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/localtransform.md)
- [MappingType](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/mappingtype.md)
- [Projection](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/projection.md)
- [TextureSpace](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/texturespace.md)
- [TypeName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/typename.md)
- [Unset](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/unset.md): (static)
- [UVWOffset](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/uvwoffset.md)
- [UVWRepeat](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/uvwrepeat.md)
- [UVWRotation](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/uvwrotation.md)
- [XYZOffset](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/xyzoffset.md)
- [XYZRotation](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/xyzrotation.md)
- [XYZSize](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/xyzsize.md)

## Methods

- [Cast](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/cast.md): (static)
- [IGH_PreviewMeshData.DestroyPreviewMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/destroypreviewmeshes.md)
- [DrawViewportMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/drawviewportmeshes.md)
- [DrawViewportWires](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/drawviewportwires.md)
- [IGH_PreviewMeshData.GetPreviewMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/getpreviewmeshes.md)
- [ToAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/toattributes.md)

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping/op-implicit.md): (3 overloads, static)

## Inherited Members

- From [ModelComponentContent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcomponentcontent.md): [UserText](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcomponentcontent/usertext.md)
- From [ModelContent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent.md): [Id](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/id.md), [IsReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddata.md), [IsReferencedDataLoaded](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddataloaded.md), [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isvalidwhynot.md), [Name](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/name.md), [Notes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/notes.md), [Parent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/parent.md), [Path](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/path.md), [Tags](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tags.md), [AsFrozen](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/asfrozen.md), [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/castto.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/equals.md), [GetHashCode](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/gethashcode.md), [InternaliseData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/internalisedata.md), [LoadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/loadreferenceddata.md), [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/read.md), [RenderItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/renderitem.md), [RuntimeId](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/runtimeid.md), [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tostring.md), [TooltipString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tooltipstring.md), [UnloadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/unloadreferenceddata.md), [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/write.md)
- From [ModelData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata.md): [Serial](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/serial.md), [DisplayName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/displayname.md), [TypeDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/typedescription.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/equals.md), [ToDetails](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/todetails.md)
