Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Solid Class / ApplyTextureMapping Method / ApplyTextureMapping(textureMappingType,Double,Double) Method
Indicates the way Material texture is wrapped on the object
Material texture scale along the X axis
Material texture scale along the Y axis

In This Topic
    ApplyTextureMapping(textureMappingType,Double,Double) Method
    In This Topic
    Maps the specified material to this solid. Before using this method you need to define a material and add it to the devDept.Eyeshot.ViewportLayout.Materials collection.
    Syntax
    'Declaration
     
    Public Overloads Sub ApplyTextureMapping( _
       ByVal mappingMode As textureMappingType, _
       ByVal scaleX As Double, _
       ByVal scaleY As Double _
    ) 
    public void ApplyTextureMapping( 
       textureMappingType mappingMode,
       double scaleX,
       double scaleY
    )

    Parameters

    mappingMode
    Indicates the way Material texture is wrapped on the object
    scaleX
    Material texture scale along the X axis
    scaleY
    Material texture scale along the Y axis
    Remarks
    You may need to call viewport.Entities.Regen() to see the effect of this command.
    See Also