CachedTextureCoordinates

class rhino3dm.CachedTextureCoordinates
Dimension
MappingId

Guid: The texture mapping Id.

IsReadOnly

bool: This collection is always read-only

__len__()

[todo] add documentation

TryGetAt(index)

Use this method to iterate the cached texture coordinate array.

Parameters:

index (int) – Index for the vertex to fetch.

Returns:

tuple (bool, float, float, float)

  • Returns True if index is valid; otherwise returns false.

  • Output parameter which will receive the U value.

  • Output parameter which will receive the V value.

  • Output parameter which will receive the W value, this is only meaningful if is 3.

Return type:

(bool, float, float, float)

IndexOf(x, y, z)

Determines the index of a specific point in this collection.

Returns:

The index of item if found in the list; otherwise, -1.

Return type:

int

Contains(x, y, z)

Determines whether this collection contains a specific value.

Return type:

bool