Creates a texture.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateTexture( _
ByVal MatName As System.String, _
ByVal Scale As System.Double, _
ByVal Angle As System.Double, _
ByVal Blend As System.Boolean _
) As Texture |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim MatName As System.String
Dim Scale As System.Double
Dim Angle As System.Double
Dim Blend As System.Boolean
Dim value As Texture
value = instance.CreateTexture(MatName, Scale, Angle, Blend) |
C# | |
---|
Texture CreateTexture(
System.string MatName,
System.double Scale,
System.double Angle,
System.bool Blend
) |
C++/CLI | |
---|
Texture^ CreateTexture(
& System.String^ MatName,
& System.double Scale,
& System.double Angle,
& System.bool Blend
) |
Parameters
- MatName
- Name of the texture file
- Scale
Value by which to adjust the granularity of the texture; value between 0.001 and 1000000.00
- Angle
- Value by which to adjust the rotation of the texture; value between 0.0 and 360.0
- Blend
- True to blend the part color with the texture color, false to not
Return Value
ITexture
Example
See Also
Availability
SOLIDWORKS 2005 FCS, Revision Number 13.0