Texture

class rhino3dm.Texture
Texture()

Texture constructor

FileName

str: Gets or sets a file name that is used by this texture. NOTE: We are moving away from string-based FileName, and suggest the usage of the new FileReference class.Also, this filename may well not be a path that makes sense on a user’s computer because it was a path initially set on a different user’s computer. If you want to get a workable path for this user, use the BitmapTable.Find function using this property.

WrapU

TextureUvwWrapping: Texture wrapping mode in the U direction

WrapV

TextureUvwWrapping: Texture wrapping mode in the V direction

WrapW

TextureUvwWrapping: Texture wrapping mode in the W direction

UvwTransform

Transform: Transform to be applied to each instance of this texture if ApplyUvw is true

Id

Guid: Gets the globally unique identifier of this texture.

Enabled

bool: If the texture is enabled then it will be visible in the rendered display otherwise it will not.

TextureType

TextureType: Controls how the pixels in the bitmap are interpreted

Repeat

Vector2d: Helper for access to the repeat value encoded in UvwTransform

Offset

Vector2d: Helper for access to the offset value encoded in UvwTransform

Rotation

float: Helper for access to the rotation value encoded in UvwTransform

FileReference()

[todo] add documentation