Mesh.ApplyTextureMapping (textureMappingType, Double, Double) Method
Public Sub ApplyTextureMapping( _
ByVal mappingMode As textureMappingType, _
ByVal scaleX As Double, _
ByVal scaleY As Double _
)
This language is not supported or no code example is available.
Parameters
- mappingMode
- textureMappingType
Indicates the way Material texture is wrapped on the object
- scaleX
- double
Material texture scale along the X axis
- scaleY
- double
Material texture scale along the Y axis
The mesh nature is set to RichPlain or RichSmooth from this command.
You may need to call viewport.Entities.Regen() to see the effect of this command.