Skip to content

M_Rhino_Geometry_Collections_MeshTextureCoordinateList_SetTextureCoordinate_1

Will Pearson edited this page Aug 12, 2016 · 2 revisions

MeshTextureCoordinateList.SetTextureCoordinate Method (Int32, Point3f)

Sets or adds a texture coordinate to the Texture Coordinate List. If [index] is less than [Count], the existing coordinate at [index] will be modified.

If [index] equals [Count], a new coordinate is appended to the end of the coordinate list.

If [index] is larger than [Count], the function will return false.

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

Syntax

C#

public bool SetTextureCoordinate(
	int index,
	Point3f tc
)

VB

Public Function SetTextureCoordinate ( 
	index As Integer,
	tc As Point3f
) As Boolean

Parameters

 

index
Type: System.Int32
Index of texture coordinate to set.
tc
Type: Rhino.Geometry.Point3f
Texture coordinate point.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshTextureCoordinateList Class
SetTextureCoordinate Overload
Rhino.Geometry.Collections Namespace

Clone this wiki locally