Creates a texture.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateTexture( _
ByVal MatName As String, _
ByVal Scale As Double, _
ByVal Angle As Double, _
ByVal Blend As Boolean _
) As Texture |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim MatName As String
Dim Scale As Double
Dim Angle As Double
Dim Blend As Boolean
Dim value As Texture
value = instance.CreateTexture(MatName, Scale, Angle, Blend)
|
Parameters
- MatName
- Name of the texture file
- Scale
Value by which to adjust the grain of the texture; value between 0.001 and 1,000,000
- Angle
- Value by which to adjust the rotation of the texture; value between 0 and 360
- Blend
- True to blend the part color with the texture color, false to not
Return Value
Texture
Example
See Also
Availability
SolidWorks 2005 FCS, Revision Number 13.0