M_Rhino_Render_CachedTextureCoordinates_TryGetAt - mcneel/rhinocommon-api-docs GitHub Wiki

CachedTextureCoordinates.TryGetAt Method

Use this method to iterate the cached texture coordinate array.

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

Syntax

C#

public bool TryGetAt(
	int index,
	out double u,
	out double v,
	out double w
)

VB

Public Function TryGetAt ( 
	index As Integer,
	<OutAttribute> ByRef u As Double,
	<OutAttribute> ByRef v As Double,
	<OutAttribute> ByRef w As Double
) As Boolean

Parameters

 

index
Type: System.Int32
Index for the vertex to fetch.
u
Type: System.Double
Output parameter which will receive the U value.
v
Type: System.Double
Output parameter which will receive the V value.
w
Type: System.Double
Output parameter which will receive the W value, this is only meaningful if Dim is 3.

Return Value

Type: Boolean
Returns true if index is valid; otherwise returns false.

Version Information

Supported in: 5D58w

See Also

Reference

CachedTextureCoordinates Class
Rhino.Render Namespace

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