MeshTextureCoordinateListSetTextureCoordinate Method (Int32, Point2f) |
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)
Since: 5.0
Syntax public bool SetTextureCoordinate(
int index,
Point2f tc
)
Public Function SetTextureCoordinate (
index As Integer,
tc As Point2f
) As Boolean
Parameters
- index
- Type: SystemInt32
Index of texture coordinate to set. - tc
- Type: Rhino.GeometryPoint2f
Texture coordinate point.
Return Value
Type:
Booleantrue on success, false on failure.
See Also