DisplayAttributeMaterialSetTexture Method |
Assigns a texture, replacing any texture this material already has of the same type.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool SetTexture(
Texture texture,
TextureType which
)
Public Function SetTexture (
texture As Texture,
which As TextureType
) As Boolean
Parameters
- texture
- Type: Rhino.DocObjectsTexture
The texture to assign. - which
- Type: Rhino.DocObjectsTextureType
The texture type.
Return Value
Type:
Booleantrue on success.
See Also