RhinoObjectSetTextureMapping Method (Int32, TextureMapping, Transform) |
Sets texture mapping and mapping object transform for a channel
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.26
Syntaxpublic int SetTextureMapping(
int channel,
TextureMapping tm,
Transform objectTransform
)
Public Function SetTextureMapping (
channel As Integer,
tm As TextureMapping,
objectTransform As Transform
) As Integer
Parameters
- channel
- Type: SystemInt32
[Missing <param name="channel"/> documentation for "M:Rhino.DocObjects.RhinoObject.SetTextureMapping(System.Int32,Rhino.Render.TextureMapping,Rhino.Geometry.Transform)"]
- tm
- Type: Rhino.RenderTextureMapping
The TextureMapping to set into this channel, or null to remove a texture mapping from a channel. - objectTransform
- Type: Rhino.GeometryTransform
Mapping channel object transform
Return Value
Type:
Int32[Missing <returns> documentation for "M:Rhino.DocObjects.RhinoObject.SetTextureMapping(System.Int32,Rhino.Render.TextureMapping,Rhino.Geometry.Transform)"]
See Also