M_Rhino_Geometry_Mesh_SetTextureCoordinates - mcneel/rhinocommon-api-docs GitHub Wiki

Mesh.SetTextureCoordinates Method

Set texture coordinates using given mapping and applying given transform. Set lazy to false to generate texture coordinates right away.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public void SetTextureCoordinates(
	TextureMapping tm,
	Transform xf,
	bool lazy
)

VB

Public Sub SetTextureCoordinates ( 
	tm As TextureMapping,
	xf As Transform,
	lazy As Boolean
)

Parameters

 

tm
Type: Rhino.Render.TextureMapping
Texture mapping
xf
Type: Rhino.Geometry.Transform
Transform to apply to the texture mapping
lazy
Type: System.Boolean
Whether to generate lazily (true) or right away (false)

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Mesh Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️