Click or drag to resize

DisplayAttributeMaterialSetTexture Method

Assigns a texture, replacing any texture this material already has of the same type.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetTexture(
	Texture texture,
	TextureType which
)

Parameters

texture
Type: Rhino.DocObjectsTexture
The texture to assign.
which
Type: Rhino.DocObjectsTextureType
The texture type.

Return Value

Type: Boolean
true on success.
See Also